Whomever is responsible for this code should please verify that this is the correct fix.

Abdel.


[EMAIL PROTECTED] wrote:
Author: younes
Date: Mon Oct 22 09:49:30 2007
New Revision: 21116

URL: http://www.lyx.org/trac/changeset/21116
Log:
Fix a warning that is potentially a bug (!= used instead of |=).

Modified:
    lyx-devel/trunk/src/KeyMap.cpp

Modified: lyx-devel/trunk/src/KeyMap.cpp
URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/KeyMap.cpp?rev=21116
==============================================================================
--- lyx-devel/trunk/src/KeyMap.cpp (original)
+++ lyx-devel/trunk/src/KeyMap.cpp Mon Oct 22 09:49:30 2007
@@ -237,7 +237,7 @@
                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;




Reply via email to