Fixing -P <profile> startup flag, should fix orange from bug 276588 - dereference happens after the pre-increment flag :(
git-svn-id: svn://10.0.0.236/trunk@167908 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6eb9736c91
commit
5c01a6c96d
@ -331,7 +331,8 @@ enum ArgResult {
|
||||
static void RemoveArg(char **argv)
|
||||
{
|
||||
do {
|
||||
*argv = *(++argv);
|
||||
*argv = *(argv + 1);
|
||||
++argv;
|
||||
} while (*argv);
|
||||
|
||||
--gArgc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user