Code

fix bug which showed only a part of help
authorRomain Bignon <romain@peerfuse.org>
Sun, 29 Mar 2009 21:28:25 +0000 (23:28 +0200)
committerRomain Bignon <romain@peerfuse.org>
Sun, 29 Mar 2009 21:28:25 +0000 (23:28 +0200)
Index was incremented twice each iteration.

src/options.c

index dd7ba532c68aa1346141dc4f44bf9a944180fdf8..24c4ae5dd083174ad780184e2fca8aa1aa0cf262 100644 (file)
@@ -1,7 +1,7 @@
 /* ncmpc (Ncurses MPD Client)
  * (c) 2004-2009 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
+
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -150,7 +150,6 @@ display_help(void)
                       option_table[i].shortopt,
                       tmp,
                       option_table[i].descrition);
-               i++;
        }
 }