Fix a warning that is potentially a bug (!= used instead of |=).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21116 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-22 07:49:30 +00:00
parent ab79da2707
commit e820c448a0

View File

@ -237,7 +237,7 @@ bool KeyMap::read(string const & bind_file, KeyMap * unbind_map)
case BN_BINDFILE:
if (lexrc.next()) {
string const tmp(lexrc.getString());
error != !read(tmp, unbind_map);
error |= !read(tmp, unbind_map);
} else {
lexrc.printError("BN_BINDFILE: Missing file name");
error = true;