X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7aa733b31e265f79c7a4424ee0e5b8a10422dd76..20e05ffbd3eff02a4c643e412d4f600cdea26952:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 42e9ff74d4..295cd6783a 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -310,7 +310,7 @@ bool wxMsgCatalog::Load(const wxChar *szDirPrefix, const wxChar *szName0) wxString szName = szName0; if(szName.Find('.') != -1) // contains a dot szName = szName.Left(szName.Find('.')); - + // FIXME VZ: I forgot the exact meaning of LC_PATH - anyone to remind me? // KB: search path where to find the mo files, probably : delimited #if 0 @@ -418,7 +418,13 @@ const char *wxMsgCatalog::GetString(const char *szOrig) const size_t32 nIncr = 1 + (nHashVal % (m_nHashSize - 2)); - while ( TRUE ) { +#if defined(__VISAGECPP__) +// VA just can't stand while(1) or while(TRUE) + bool bOs2var = TRUE; + while(bOs2var) { +#else + while (1) { +#endif size_t32 nStr = Swap(m_pHashTable[nIndex]); if ( nStr == 0 ) return NULL;