summaryrefslogtreecommitdiff
path: root/libbb/compare_string_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/compare_string_array.c')
-rw-r--r--libbb/compare_string_array.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbb/compare_string_array.c b/libbb/compare_string_array.c
index 7b5ce85..151b508 100644
--- a/libbb/compare_string_array.c
+++ b/libbb/compare_string_array.c
@@ -70,9 +70,9 @@ int index_in_substrings(const char *strings, const char *key)
const char *nth_string(const char *strings, int n)
{
- while (n) {
- n--;
- strings += strlen(strings) + 1;
- }
- return strings;
+ while (n) {
+ n--;
+ strings += strlen(strings) + 1;
+ }
+ return strings;
}