Mercurial > hg > dmlib
diff src/dmargs_int.c @ 1102:e06abfde6c39
Cosmetics pass: Remove excess whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Mar 2015 23:22:36 +0200 |
parents | eb4ebbd5c171 |
children |
line wrap: on
line diff
--- a/src/dmargs_int.c Tue Mar 03 22:32:34 2015 +0200 +++ b/src/dmargs_int.c Tue Mar 03 23:22:36 2015 +0200 @@ -67,7 +67,7 @@ (*argIndex)++; optArg = argv[*argIndex]; } - + if (optArg == NULL) { THERR("Option '%s%s' requires an argument.\n", @@ -76,7 +76,7 @@ return FALSE; } } - + // Option was given succesfully, try to process it if (doProcess && !handleOptionCB(opt->id, optArg, currArg)) return FALSE; @@ -180,7 +180,7 @@ // Skip whitespace at line start while (isspace(str[pos]) || str[pos] == '\n') pos++; - + // Handle each word while (str[pos] && str[pos] != '\n') {