1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

small correction to previous patch

This commit is contained in:
dan
2000-04-09 02:42:32 +00:00
parent 0fd531df43
commit b37b0fd9f1

View File

@@ -257,8 +257,8 @@ WMGetSubdataWithRange(WMData *aData, WMRange aRange) /*FOLD00*/
buffer = wmalloc(aRange.count); buffer = wmalloc(aRange.count);
WMGetDataBytesWithRange(aData, buffer, aRange); WMGetDataBytesWithRange(aData, buffer, aRange);
newData = WMCreateDataWithBytesNoCopy(buffer, aRange.count, wfree); newData = WMCreateDataWithBytesNoCopy(buffer, aRange.count, NULL);
//newData->freeData = 1; newData->freeData = 1;
newData->format = aData->format; newData->format = aData->format;
return newData; return newData;