Rob Shearman : dbghelp: Fix a typo in SymLoadModuleExW that caused the wrong number of characters to be passed to lstrcpynW .
Alexandre Julliard
julliard at winehq.org
Fri Feb 15 05:35:59 CST 2008
Module: wine
Branch: master
Commit: f48941a2a8ccbac7b3afeae96ac53c47f9e7c691
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f48941a2a8ccbac7b3afeae96ac53c47f9e7c691
Author: Rob Shearman <rob at codeweavers.com>
Date: Thu Feb 14 14:38:35 2008 +0000
dbghelp: Fix a typo in SymLoadModuleExW that caused the wrong number of characters to be passed to lstrcpynW.
---
dlls/dbghelp/module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c
index 8b2ece0..3f7fe7a 100644
--- a/dlls/dbghelp/module.c
+++ b/dlls/dbghelp/module.c
@@ -555,7 +555,7 @@ DWORD64 WINAPI SymLoadModuleExW(HANDLE hProcess, HANDLE hFile, PCWSTR wImageNam
if (wModuleName)
module_set_module(module, wModuleName);
lstrcpynW(module->module.ImageName, wImageName,
- sizeof(module->module.ImageName) / sizeof(CHAR));
+ sizeof(module->module.ImageName) / sizeof(WCHAR));
return module->module.BaseOfImage;
}
More information about the wine-cvs
mailing list