Author: janderwald
Date: Sat Nov 10 14:23:01 2007
New Revision: 30321
URL:
http://svn.reactos.org/svn/reactos?rev=30321&view=rev
Log:
- fix a bug
Modified:
trunk/reactos/dll/win32/shell32/shv_item_new.c
Modified: trunk/reactos/dll/win32/shell32/shv_item_new.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shv_item…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shv_item_new.c (original)
+++ trunk/reactos/dll/win32/shell32/shv_item_new.c Sat Nov 10 14:23:01 2007
@@ -278,7 +278,7 @@
szBuffer[199] = 0;
mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE | MIIM_DATA;
mii.fType = MFT_STRING;
- mii.dwTypeData = szNew;
+ mii.dwTypeData = szBuffer;
mii.cch = strlenW(mii.dwTypeData);
mii.wID = idFirst++;
InsertMenuItemW(hMenu, idMenu++, TRUE, &mii);