Hi, a small typo in dmenu.c.  533s/i++/++i

--- dmenu.c     2010-08-03 10:06:53.083866866 -0700
+++ bugfix.c    2010-08-03 10:06:19.600536452 -0700
@@ -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"))

-Gene

On Mon, Aug 2, 2010 at 7:02 AM, Connor Lane Smith <c...@lubutu.com> wrote:
> As of my latest commit dmenu tip is a third smaller than 4.1.1,
> because of both libdraw and my zealous hammering of the 'd' key. But
> while restructuring I may have overlooked some subtlety and broken
> something, so before we consider releasing 4.2 I'd like to have a
> little bug hunt. If anyone can find any bugs in dmenu tip could they
> please tell me? Thanks.
>
> Also, does anyone have any ideas about how dwm could automatically
> spawn dmenu with the '-b' flag when !topbar? At the moment you have to
> add it to dmenucmd by hand, which is okay but not great. It could work
> if topbar were a macro, but that may seem odd amongst consts.
>
> Thanks,
> cls
>
>

Reply via email to