From 29bcd505be371bb1734d07ec81077ae1c5a47157 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 8 Jan 2003 20:06:22 +0000 Subject: [PATCH] Delete the space that comes before _?= in the uninstaller $CMDLINE git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2045 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Main.c b/Source/exehead/Main.c index c4162ee5..93367398 100644 --- a/Source/exehead/Main.c +++ b/Source/exehead/Main.c @@ -278,7 +278,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam, if (p >= cmdline) { - p[0]=0; // terminate on the _?= + *(p-1)=0; // terminate before the " _?=" p+=3; // skip over _?= if (is_valid_instpath(p)) {