Marcus Meissner
ec698cd7c5
- Support for multiple icon sizes in winemenubuilder. - Improvements to the help browser. - Initial stab at DOSBox integration. - Various MSI fixes. - Some fixes to the Wine debugger. - Various bug fixes. - updated winetricks - Updated to 1.3.11 development snapshot - PO files now used for translations. - Various JavaScript improvements. - Some fixes to the Wine debugger. - Translation updates. - Various bug fixes. - moved development tools into -devel package OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=80
21 lines
740 B
Diff
21 lines
740 B
Diff
diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
|
|
index 71b8f93..8a3d721 100644
|
|
--- a/dlls/shell32/pidl.c
|
|
+++ b/dlls/shell32/pidl.c
|
|
@@ -1755,13 +1755,13 @@ LPITEMIDLIST _ILCreateEntireNetwork(void)
|
|
|
|
TRACE("\n");
|
|
|
|
- pidlOut = _ILAlloc(PT_NETWORK, FIELD_OFFSET(PIDLDATA, u.network.szNames[sizeof("Entire Network")]));
|
|
+ pidlOut = _ILAlloc(PT_NETWORK, FIELD_OFFSET(PIDLDATA, u.network.szNames[strlen("Entire Network")+1]));
|
|
if (pidlOut)
|
|
{
|
|
LPPIDLDATA pData = _ILGetDataPointer(pidlOut);
|
|
|
|
pData->u.network.dummy = 0;
|
|
- strcpy(pData->u.network.szNames, "Entire Network");
|
|
+ memcpy(pData->u.network.szNames, "Entire Network", strlen("Entire Network")+1);
|
|
}
|
|
return pidlOut;
|
|
}
|