|
Author: andreas
Date: 2011-06-08 23:51:50 -0700 (Wed, 08 Jun 2011)
New Revision: 2397
Modified:
trunk/platforms/win32/plugins/DropPlugin/sqWin32Drop.c
Log:
Merging support files from cogvm branch.
Modified: trunk/platforms/win32/plugins/DropPlugin/sqWin32Drop.c
===================================================================
--- trunk/platforms/win32/plugins/DropPlugin/sqWin32Drop.c 2011-06-09 06:51:20 UTC (rev 2396)
+++ trunk/platforms/win32/plugins/DropPlugin/sqWin32Drop.c 2011-06-09 06:51:50 UTC (rev 2397)
@@ -547,7 +547,7 @@
if(WriteDIB(tmpName, hDib)) {
numDropFiles = 1;
dropFiles = calloc(1, sizeof(void*));
- dropFiles[0] = strdup(tmpName);
+ dropFiles[0] = _strdup(tmpName);
}
if(medium.pUnkForRelease == NULL) {
GlobalFree(hDib);
@@ -584,7 +584,7 @@
if(WriteDIB(tmpName, hDib)) {
numDropFiles = 1;
dropFiles = calloc(1, sizeof(void*));
- dropFiles[0] = strdup(tmpName);
+ dropFiles[0] = _strdup(tmpName);
}
DeleteObject(hDib);
}
@@ -657,7 +657,7 @@
if(WriteDIB(tmpName, hDib)) {
numDropFiles = 1;
dropFiles = calloc(1, sizeof(void*));
- dropFiles[0] = strdup(tmpName);
+ dropFiles[0] = _strdup(tmpName);
}
GlobalFree(hDib);
if(medium.pUnkForRelease == NULL) {
|