]> git.lyx.org Git - features.git/commitdiff
* MathAutoCorrect: kill compiler warning.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Feb 2009 01:21:54 +0000 (01:21 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Feb 2009 01:21:54 +0000 (01:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28390 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/MathAutoCorrect.cpp
src/mathed/MathAutoCorrect.h

index 85f699c4044419928d3cad06f303153c73dbc179..fcc9f7705af445c692303fa50f579f59956790ce 100644 (file)
@@ -170,7 +170,7 @@ void initAutoCorrect()
 } // namespace anon
 
 
-bool math_autocorrect(MathAtom & at, char c)
+bool math_autocorrect(MathAtom & at, char_type c)
 {
        static bool initialized = false;
 
index 8b77f363f1cd1a6e60b218d591c99c17661c4d37..679e83738e6c1cc52f54c04d92e5515413d78f24 100644 (file)
 #ifndef MATHAUTOCORRECT_H
 #define MATHAUTOCORRECT_H
 
+#include "support/strfwd.h"
+
 namespace lyx {
 
 class MathAtom;
 
 // make "corrections" according to file lib/autocorrect
-bool math_autocorrect(MathAtom & at, char c);
+bool math_autocorrect(MathAtom & at, char_type c);
 
 } // namespace lyx