don't assign string literals to a char * variable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-01-07 15:24:41 +00:00
parent 6363699a28
commit 08a9473bbf

View File

@ -1957,7 +1957,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
lastStyle = Style;
lastWeight = Weight;
char *name = (char*) NULL;
const char *name = NULL;
switch (Family)
{