Przeglądaj źródła

changed strdup to _strdup, was causing a problems with release build referencing debug dlls

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@725 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 11 lat temu
rodzic
commit
86f5ada8dd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      QRCode/split.c

+ 1 - 1
QRCode/split.c

@@ -284,7 +284,7 @@ static char *dupAndToUpper(const char *str, QRencodeMode hint)
 	char *newstr, *p;
 	QRencodeMode mode;
 
-	newstr = strdup(str);
+	newstr = _strdup(str);
 	if(newstr == NULL) return NULL;
 
 	p = newstr;