]> git.lyx.org Git - lyx.git/blobdiff - src/KeyMap.cpp
Allow using \binom without amsmath and add support for \brace and \brack
[lyx.git] / src / KeyMap.cpp
index 77009b98e35d9b4672376995d72bf088a284682d..d1c7040c7d0c83dfe8fa491a20edd3392910386a 100644 (file)
@@ -250,7 +250,7 @@ bool KeyMap::read(string const & bind_file, KeyMap * unbind_map)
 void KeyMap::write(string const & bind_file, bool append, bool unbind) const
 {
        ofstream os(bind_file.c_str(), 
-               append ? (ios::app | ios:: out): ios::out);
+               append ? (ios::app | ios::out) : ios::out);
 
        if (!append)
                os << "## This file is automatically generated by lyx\n"
@@ -403,7 +403,7 @@ void KeyMap::unbind(KeySequence * seq, FuncRequest const & func, unsigned int r)
                                        remove = it;
                                        if (it->table.get())
                                                it->table.reset();
-                                       }
+                               }
                        } else if (it->table.get()) {
                                it->table->unbind(seq, func, r + 1);
                                if (it->table->empty())