From cd26935c0f828e0d5b783baf7db6020ead73cba9 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 4 Nov 2002 23:51:58 +0000 Subject: [PATCH] Warning fix. --- dlls/shell32/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c index 02d73948407..02735394bdc 100644 --- a/dlls/shell32/control.c +++ b/dlls/shell32/control.c @@ -346,7 +346,7 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCSTR cmd) } end++; } - while (ptr = strchr(buffer, (int) '"')) + while ((ptr = strchr(buffer, (int) '"'))) memmove(ptr, ptr+1, strlen(ptr)); TRACE("cmd %s, extra %s, sp %d\n", buffer, debugstr_a(extraPmts), sp);