mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
- fix a bug
svn path=/trunk/; revision=30321
This commit is contained in:
parent
399831685e
commit
e08c6513cc
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ InsertShellNewItems(HMENU hMenu, UINT idFirst, UINT idMenu, INewMenuImpl * This)
|
||||||
szBuffer[199] = 0;
|
szBuffer[199] = 0;
|
||||||
mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE | MIIM_DATA;
|
mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE | MIIM_DATA;
|
||||||
mii.fType = MFT_STRING;
|
mii.fType = MFT_STRING;
|
||||||
mii.dwTypeData = szNew;
|
mii.dwTypeData = szBuffer;
|
||||||
mii.cch = strlenW(mii.dwTypeData);
|
mii.cch = strlenW(mii.dwTypeData);
|
||||||
mii.wID = idFirst++;
|
mii.wID = idFirst++;
|
||||||
InsertMenuItemW(hMenu, idMenu++, TRUE, &mii);
|
InsertMenuItemW(hMenu, idMenu++, TRUE, &mii);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue