compilation problem for compilers with old for() scoping rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -163,9 +163,11 @@ int WXDLLEXPORT wxVsnprintf_(wxChar *buf, size_t lenMax,
|
||||
buf[lenCur++] = ch
|
||||
|
||||
#define APPEND_STR(s) \
|
||||
for ( const wxChar *p = s; *p; p++ ) \
|
||||
{ \
|
||||
APPEND_CH(*p); \
|
||||
for ( const wxChar *p = s; *p; p++ ) \
|
||||
{ \
|
||||
APPEND_CH(*p); \
|
||||
} \
|
||||
}
|
||||
|
||||
switch (format[++n]) {
|
||||
|
Reference in New Issue
Block a user