Renamed wxBuffer to deBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,9 +36,7 @@
|
|||||||
|
|
||||||
#include "reseditr.h"
|
#include "reseditr.h"
|
||||||
|
|
||||||
#if ( !defined(__WXMSW__) && defined(__WXMAC__) ) || defined( __VMS )
|
static char deBuffer[512];
|
||||||
static char wxBuffer[512];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char *SafeString(char *s);
|
char *SafeString(char *s);
|
||||||
char *SafeWord(const wxString& s);
|
char *SafeWord(const wxString& s);
|
||||||
@@ -573,10 +571,10 @@ char *SafeString(const wxString& s)
|
|||||||
return "NULL";
|
return "NULL";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
strcpy(wxBuffer, "\"");
|
strcpy(deBuffer, "\"");
|
||||||
strcat(wxBuffer, s);
|
strcat(deBuffer, s);
|
||||||
strcat(wxBuffer, "\"");
|
strcat(deBuffer, "\"");
|
||||||
return wxBuffer;
|
return deBuffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -590,7 +588,7 @@ char *SafeWord(const wxString& s)
|
|||||||
return "''";
|
return "''";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dp = wxBuffer;
|
dp = deBuffer;
|
||||||
cp = s.c_str();
|
cp = s.c_str();
|
||||||
*dp++ = '\'';
|
*dp++ = '\'';
|
||||||
while(*cp != 0) {
|
while(*cp != 0) {
|
||||||
@@ -608,7 +606,7 @@ char *SafeWord(const wxString& s)
|
|||||||
*dp++ = '\'';
|
*dp++ = '\'';
|
||||||
*dp++ = 0;
|
*dp++ = 0;
|
||||||
|
|
||||||
return wxBuffer;
|
return deBuffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user