]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GLyXKeySym.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GLyXKeySym.C
index 36631ae7c60fc7d7aa5c0cd1e84dc8a5da84129f..73e87c9d2dd1b05cc6462e6ed835c003d5870eac 100644 (file)
 
 #include <config.h>
 
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
+
 #include "GLyXKeySym.h"
 #include "kbmap.h"
 
@@ -96,7 +101,7 @@ char GLyXKeySym::getISOEncoded(string const & /*encoding*/) const
 }
 
 
-//Produce a human readable version (eg "Ctrl+N")
+// Produce a human readable version (eg "Ctrl+N")
 string const GLyXKeySym::print(key_modifier::state mod) const
 {
        string buf;
@@ -108,8 +113,8 @@ string const GLyXKeySym::print(key_modifier::state mod) const
        if (mod & key_modifier::alt)
                buf += "Alt+";
 
-       //Uppercase the first letter, for Ctrl+N rather than Ctrl+n,
-       //and for Ctrl+Greater rather than Ctrl+GREATER
+       // Uppercase the first letter, for Ctrl+N rather than Ctrl+n,
+       // and for Ctrl+Greater rather than Ctrl+GREATER
        string symname = getSymbolName();
        if (!symname.empty()) {
          symname[0] = lyx::support::uppercase(symname[0]);