mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-23 16:06:55 +01:00
small correction to previous patch
This commit is contained in:
1 parent
0fd531df43
commit
b37b0fd9f1
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user