home · contact · privacy
Removed if-redundancy in get_drawfunc_by_char().
authorChristian Heller <c.heller@plomlompom.de>
Sat, 9 Nov 2013 03:00:09 +0000 (04:00 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 9 Nov 2013 03:00:09 +0000 (04:00 +0100)
src/wincontrol.c

index f6e0d2973093d270b9a00103b514b56fde3a2cbe..7830636543232ba047a0c5f24fbbd4036a3642fa 100644 (file)
@@ -266,7 +266,7 @@ static void * get_drawfunc_by_char(char c)
     {
         return draw_win_inventory;
     }
-    if      ('i' == c)
+    else if ('i' == c)
     {
         return draw_win_info;
     }