* MathAutoCorrect: kill compiler warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-02-08 01:21:54 +00:00
parent 2daac3125f
commit 78bc661ff8
2 changed files with 4 additions and 2 deletions

View 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;

View File

@ -12,12 +12,14 @@
#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