Code

command.c: put curly braces around a single large statement
[ncmpc.git] / src / options.c
index e2051c576fe578d527866dea9802fcaea18e0df8..e84b5013b1859d80b3d20eeec03a75f96e4baaf0 100644 (file)
@@ -97,9 +97,9 @@ lookup_option(int s, char *l)
 
        for (i = 0; i < option_table_size; ++i) {
                if (l && strcmp(l, option_table[i].longopt) == 0)
-                       return &option_table[i];;
+                       return &option_table[i];
                if (s && s == option_table[i].shortopt)
-                       return &option_table[i];;
+                       return &option_table[i];
        }
 
        return NULL;
@@ -172,7 +172,7 @@ handle_option(int c, const char *arg)
 #ifdef ENABLE_MULTIBYTE
                     " multibyte"
 #endif
-#ifdef ENABLE_WIDE
+#ifdef HAVE_CURSES_ENHANCED
                     " wide"
 #endif
 #ifdef ENABLE_LOCALE