Browse Source

Merge commit '4d48691622149ba5998de08a0acec85d1f4ed46a' into release/2.4

* commit '4d48691622149ba5998de08a0acec85d1f4ed46a':
  cmdutils: Use the correct guard

Conflicts:
	cmdutils.c

See: 35daf3ca81
Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.7
Michael Niedermayer 11 years ago
parent
commit
ee025a0c61
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmdutils.c

+ 1
- 1
cmdutils.c View File

@@ -444,7 +444,7 @@ int locate_option(int argc, char **argv, const OptionDef *options,
(po->name && !strcmp(optname, po->name))) (po->name && !strcmp(optname, po->name)))
return i; return i;


if (po->flags & HAS_ARG)
if (!po->name || po->flags & HAS_ARG)
i++; i++;
} }
return 0; return 0;


Loading…
Cancel
Save