From e820c448a06240e773fbe05c7705a9f72894e1ef Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 22 Oct 2007 07:49:30 +0000 Subject: [PATCH] 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 --- src/KeyMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KeyMap.cpp b/src/KeyMap.cpp index 9fe270a8b7..b32bda3e4b 100644 --- a/src/KeyMap.cpp +++ b/src/KeyMap.cpp @@ -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; -- 2.39.2