]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxchar.cpp
Fix warning for unknown menu stock id.
[wxWidgets.git] / src / common / wxchar.cpp
index e1d69caae73560591797c2c663353d0fdb7b9d89..8eb13d39f7c5db48dca6662e9d32d5499df16cfc 100644 (file)
@@ -984,7 +984,7 @@ int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p)
         case wxPAT_POINTER:
 #if wxUSE_STRUTILS
             {
-                wxASSERT(lenScratch >= 0 && lenScratch < wxMAX_SVNPRINTF_SCRATCHBUFFER_LEN);
+                wxASSERT( /* lenScratch >= 0 && */ lenScratch < wxMAX_SVNPRINTF_SCRATCHBUFFER_LEN);
                 if (lenMax < lenScratch)
                 {
                     // fill output buffer and then return -1