]> git.lyx.org Git - lyx.git/blobdiff - src/tex-accent.C
more keyboard/keysym changes
[lyx.git] / src / tex-accent.C
index f5e84708643735ff2efe95268a06bb999f9a6214..81abac3f94a4865997941cd939bd2b59fda70f2e 100644 (file)
@@ -1,5 +1,19 @@
+/* This file is part of
+ * ====================================================== 
+ * 
+ *           LyX, The Document Processor
+ *        
+ *           Copyright 1995 Matthias Ettrich
+ *           Copyright 1995-2000 The LyX Team.
+ *
+ * ====================================================== */
+
 #include <config.h>
 
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include <cstdlib>
 #include "tex-accent.h"
 #include "commandtags.h"
@@ -76,13 +90,13 @@ string DoAccent(string const & s, tex_accent accent)
 {
        string res;
        
-       res+= lyx_accent_table[accent].cmd;
-       res+= '{';
+       res += lyx_accent_table[accent].cmd;
+       res += '{';
        if (s == "i" || s == "j") {
-               res+= '\\';
+               res += '\\';
        }
-       res+= s;
-       res+= '}';
+       res += s;
+       res += '}';
        return res;
 }