[2/2] winemenubuilder: fix a char/widechar typo in association .desktop paths (try 2)
Damjan Jovanovic
damjan.jov at gmail.com
Sat May 8 16:30:28 CDT 2010
Changelog:
* winemenubuilder: fix a char/widechar typo in association .desktop paths
This fixes the regression caused by the typo in the changes to
winemenubuilder to use unicode.
Try 2 actually includes the patch.
Damjan Jovanovic
-------------- next part --------------
--- winemenubuilder.c 2010-05-08 19:33:07.822766688 +0200
+++ winemenubuilder1.c 2010-05-08 23:16:53.314764240 +0200
@@ -1896,7 +1896,7 @@
RegSetValueExW(subkey, AppNameW, 0, REG_SZ, (const BYTE*) appNameW, (lstrlenW(appNameW) + 1) * sizeof(WCHAR));
if (docName)
RegSetValueExW(subkey, DocNameW, 0, REG_SZ, (const BYTE*) docName, (lstrlenW(docName) + 1) * sizeof(WCHAR));
- RegSetValueExW(subkey, DesktopFileW, 0, REG_SZ, (const BYTE*) desktopFile, (lstrlenW(desktopFileW) + 1) * sizeof(WCHAR));
+ RegSetValueExW(subkey, DesktopFileW, 0, REG_SZ, (const BYTE*) desktopFileW, (lstrlenW(desktopFileW) + 1) * sizeof(WCHAR));
done:
RegCloseKey(assocKey);
More information about the wine-patches
mailing list