read_key: remove handling for ctrl-up/down, we don't use that. -12 bytes
[oweals/busybox.git] / libbb / print_flags.c
index a8c4f9c1fa7d666d33858c836790bd20d1fd0660..afa755031e73ecf9354c129466c2e30c9b31cb49 100644 (file)
@@ -19,8 +19,8 @@ int FAST_FUNC print_flags_separated(const int *masks, const char *labels, int fl
                                labels);
                        need_separator = separator;
                        flags &= ~ *masks;
-                       masks++;
                }
+               masks++;
                labels += strlen(labels) + 1;
        }
        return flags;