Commit 04c8ce76 authored by Andreas Schuh's avatar Andreas Schuh

fix: Indentation, use spaces instead of real tabs

parent d4a050d1
...@@ -1036,7 +1036,7 @@ uint32 CommandLineFlagParser::ParseNewCommandLineFlags(int* argc, char*** argv, ...@@ -1036,7 +1036,7 @@ uint32 CommandLineFlagParser::ParseNewCommandLineFlags(int* argc, char*** argv,
char* arg = (*argv)[i]; char* arg = (*argv)[i];
// Like getopt(), we permute non-option flags to be at the end. // Like getopt(), we permute non-option flags to be at the end.
if (arg[0] != '-' || arg[1] == '\0') { // must be a program argument "-" is an argument, not a flag if (arg[0] != '-' || arg[1] == '\0') { // must be a program argument "-" is an argument, not a flag
memmove((*argv) + i, (*argv) + i+1, (*argc - (i+1)) * sizeof((*argv)[i])); memmove((*argv) + i, (*argv) + i+1, (*argc - (i+1)) * sizeof((*argv)[i]));
(*argv)[*argc-1] = arg; // we go last (*argv)[*argc-1] = arg; // we go last
first_nonopt--; // we've been pushed onto the stack first_nonopt--; // we've been pushed onto the stack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment