print_flags: fix trivial thinko

vi: fix reversed checks for underflow
This commit is contained in:
Denis Vlasenko
2008-06-26 22:40:02 +00:00
parent 5fb79535ee
commit 9092f754bd
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ int print_flags_separated(const int *masks, const char *labels, int flags, const
labels);
need_separator = separator;
flags &= ~ *masks;
masks++;
}
masks++;
labels += strlen(labels) + 1;
}
return flags;