Detlef Riekenberg : winhelp.exe16: Add missing separator after command name .
Alexandre Julliard
julliard at winehq.org
Tue Oct 5 14:41:46 CDT 2010
Module: wine
Branch: stable
Commit: b29099857121243aa2f9acf81350437f1619065f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b29099857121243aa2f9acf81350437f1619065f
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Sun Jul 18 20:24:31 2010 +0200
winhelp.exe16: Add missing separator after command name.
(cherry picked from commit 115bf743b86ec2d702161f93c38afcf3dda92b7c)
---
programs/winhelp.exe16/winhelp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winhelp.exe16/winhelp.c b/programs/winhelp.exe16/winhelp.c
index 6bfa3f6..f255d91 100644
--- a/programs/winhelp.exe16/winhelp.c
+++ b/programs/winhelp.exe16/winhelp.c
@@ -31,11 +31,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(winhelp);
*/
WORD WINAPI WinMain16( HINSTANCE16 inst, HINSTANCE16 prev, LPSTR cmdline, WORD show )
{
- int len = GetSystemDirectoryA( NULL, 0 ) + sizeof("\\winhlp32.exe") + strlen(cmdline);
+ int len = GetSystemDirectoryA( NULL, 0 ) + sizeof("\\winhlp32.exe ") + strlen(cmdline);
char *buffer = HeapAlloc( GetProcessHeap(), 0, len );
GetSystemDirectoryA( buffer, len );
- strcat( buffer, "\\winhlp32.exe" );
+ strcat( buffer, "\\winhlp32.exe " );
strcat( buffer, cmdline );
WINE_TRACE( "starting %s\n", wine_dbgstr_a(buffer) );
More information about the wine-cvs
mailing list