#include "reseditr.h"
-#if ( !defined(__WXMSW__) && defined(__WXMAC__) ) || defined( __VMS )
-static char wxBuffer[512];
-#endif
+static char deBuffer[512];
char *SafeString(char *s);
char *SafeWord(const wxString& s);
return "NULL";
else
{
- strcpy(wxBuffer, "\"");
- strcat(wxBuffer, s);
- strcat(wxBuffer, "\"");
- return wxBuffer;
+ strcpy(deBuffer, "\"");
+ strcat(deBuffer, s);
+ strcat(deBuffer, "\"");
+ return deBuffer;
}
}
return "''";
else
{
- dp = wxBuffer;
+ dp = deBuffer;
cp = s.c_str();
*dp++ = '\'';
while(*cp != 0) {
*dp++ = '\'';
*dp++ = 0;
- return wxBuffer;
+ return deBuffer;
}
}