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:
parent
6363699a28
commit
08a9473bbf
@ -1957,7 +1957,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
||||
lastStyle = Style;
|
||||
lastWeight = Weight;
|
||||
|
||||
char *name = (char*) NULL;
|
||||
const char *name = NULL;
|
||||
|
||||
switch (Family)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user