winemenubuilder: Fix a char/widechar typo in association .desktop paths.

This commit is contained in:
Damjan Jovanovic 2010-05-11 22:31:41 +02:00 committed by Alexandre Julliard
parent 92c48ef29a
commit a432a7fbdb

View File

@ -1864,7 +1864,7 @@ static void update_association(LPCWSTR extension, LPCSTR mimeType, LPCWSTR progI
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);