another typo fix (thanks, Gene Auyeung)
authorConnor Lane Smith <cls@lubutu.com>
Tue, 3 Aug 2010 17:19:59 +0000 (18:19 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Tue, 3 Aug 2010 17:19:59 +0000 (18:19 +0100)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index b82ff59..c367645 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -530,7 +530,7 @@ main(int argc, char *argv[]) {
                else if(!strcmp(argv[i], "-p"))
                        prompt = argv[++i];
                else if(!strcmp(argv[i], "-fn"))
-                       initfont(dc, argv[i++]);
+                       initfont(dc, argv[++i]);
                else if(!strcmp(argv[i], "-nb"))
                        normbgcolor = argv[++i];
                else if(!strcmp(argv[i], "-nf"))