home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350ef2e
)
Removed if-redundancy in get_drawfunc_by_char().
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 9 Nov 2013 03:00:09 +0000
(
04:00
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 9 Nov 2013 03:00:09 +0000
(
04:00
+0100)
src/wincontrol.c
patch
|
blob
|
history
diff --git
a/src/wincontrol.c
b/src/wincontrol.c
index f6e0d2973093d270b9a00103b514b56fde3a2cbe..7830636543232ba047a0c5f24fbbd4036a3642fa 100644
(file)
--- a/
src/wincontrol.c
+++ b/
src/wincontrol.c
@@
-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;
}