X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2348a84293e52b9a701891bcdd801b3e8e541642..42497f30ebde52ebd530a3c252eec45791669287:/src/common/txtstrm.cpp diff --git a/src/common/txtstrm.cpp b/src/common/txtstrm.cpp index 55a7ac3580..27b0b6c6ed 100644 --- a/src/common/txtstrm.cpp +++ b/src/common/txtstrm.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "txtstrm.h" #endif @@ -97,10 +97,9 @@ wxChar wxTextInputStream::NextChar() wxChar wxTextInputStream::NextNonSeparators() { - wxChar c = (wxChar) 0; for (;;) { - c = NextChar(); + wxChar c = NextChar(); if (c == wxEOT) return (wxChar) 0; if (c != wxT('\n') &&