summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c
index bbe02c732..7b96669a4 100644
--- a/render/box.c
+++ b/render/box.c
@@ -785,7 +785,7 @@ struct result box_input(xmlNode *n, struct status *status,
}
}
- if (stricmp(type, "password") == 0)
+ else if (stricmp(type, "password") == 0)
{
box = box_create(style, NULL, 0);
box->gadget = gadget = xcalloc(1, sizeof(struct gui_gadget));