]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/scintilla/include/Accessor.h
use #ifdef and not #if (fixes -Wundef warnings reported in bug 1273111)
[wxWidgets.git] / contrib / src / stc / scintilla / include / Accessor.h
index 3f59c07939bad89bbb469d31eb992912022e6b92..0b2c4baee25cb8a8bc1768adf22a05c9a5fe2358 100644 (file)
@@ -25,7 +25,7 @@ protected:
        char buf[bufferSize+1];
        int startPos;
        int endPos;
        char buf[bufferSize+1];
        int startPos;
        int endPos;
-       int codePage;
+       int codePage;   
 
        virtual bool InternalIsLeadByte(char ch)=0;
        virtual void Fill(int position)=0;
 
        virtual bool InternalIsLeadByte(char ch)=0;
        virtual void Fill(int position)=0;
@@ -44,7 +44,7 @@ public:
                if (position < startPos || position >= endPos) {
                        Fill(position);
                        if (position < startPos || position >= endPos) {
                if (position < startPos || position >= endPos) {
                        Fill(position);
                        if (position < startPos || position >= endPos) {
-                               // Position is outside range of document
+                               // Position is outside range of document 
                                return chDefault;
                        }
                }
                                return chDefault;
                        }
                }