X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..34dceb471562e2bf2cc85c4792cde3faf555af40:/src/common/xpmdecod.cpp diff --git a/src/common/xpmdecod.cpp b/src/common/xpmdecod.cpp index f3cd26aa0b..4b4e47e045 100644 --- a/src/common/xpmdecod.cpp +++ b/src/common/xpmdecod.cpp @@ -551,7 +551,7 @@ static bool GetRGBFromName(const char *inname, bool *isNone, return TRUE; } - name = wxStrdup(inname); + name = strdup(inname); // theRGBRecords[] has no names with spaces, and no grey, but a // lot of gray... @@ -638,7 +638,7 @@ static const char *ParseColor(const char *data) { if ( *r != *q ) continue; - if ( !wxIsspace((int) (*(r - 1))) ) + if ( !isspace((int) (*(r - 1))) ) continue; p = r; for (;;)