mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
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:
parent
ab79da2707
commit
e820c448a0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user