From: Julian Smart Date: Tue, 30 Apr 2002 07:34:15 +0000 (+0000) Subject: Renamed wxBuffer to deBuffer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2e4106968b9c08184d6541b6ceabfdb292811128?ds=inline Renamed wxBuffer to deBuffer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/dialoged/src/reswrite.cpp b/utils/dialoged/src/reswrite.cpp index c195aceea3..70b1dbf1bc 100644 --- a/utils/dialoged/src/reswrite.cpp +++ b/utils/dialoged/src/reswrite.cpp @@ -36,9 +36,7 @@ #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); @@ -573,10 +571,10 @@ char *SafeString(const wxString& s) return "NULL"; else { - strcpy(wxBuffer, "\""); - strcat(wxBuffer, s); - strcat(wxBuffer, "\""); - return wxBuffer; + strcpy(deBuffer, "\""); + strcat(deBuffer, s); + strcat(deBuffer, "\""); + return deBuffer; } } @@ -590,7 +588,7 @@ char *SafeWord(const wxString& s) return "''"; else { - dp = wxBuffer; + dp = deBuffer; cp = s.c_str(); *dp++ = '\''; while(*cp != 0) { @@ -608,7 +606,7 @@ char *SafeWord(const wxString& s) *dp++ = '\''; *dp++ = 0; - return wxBuffer; + return deBuffer; } }