From 76bc1d76a55f9448a90dfef421dbd39b185ceb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 7 Nov 2012 23:18:57 +0100 Subject: [PATCH] start: Fix mask for creation flags (coverity). --- programs/start/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/start/start.c b/programs/start/start.c index f3d934eeed..f1cb26ac9a 100644 --- a/programs/start/start.c +++ b/programs/start/start.c @@ -247,7 +247,7 @@ int wmain (int argc, WCHAR *argv[]) sei.lpDirectory = argv[++i]; } else if (is_option(argv[i], bW)) { - creation_flags &= !CREATE_NEW_CONSOLE; + creation_flags &= ~CREATE_NEW_CONSOLE; } else if (argv[i][0] == '/' && (argv[i][1] == 'i' || argv[i][1] == 'I')) { TRACE("/i is ignored\n"); /* FIXME */