This patch fixes the isDigit() MSVC warning in ControlSpellchecker.C.
Committing now...
Abdel.
Index: support/textutils.h
===================================================================
--- support/textutils.h (revision 14870)
+++ support/textutils.h (working copy)
@@ -15,6 +15,7 @@
#ifndef TEXTUTILS_H
#define TEXTUTILS_H
+#include "support/types.h"
/// return true if the char is a line separator
inline
@@ -58,4 +59,12 @@
}
+/// completely pointless FIXME
+inline
+bool isDigit(lyx::char_type ch)
+{
+ return ch >= '0' && ch <= '9';
+}
+
+
#endif // TEXTUTILS_H