about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index 92d906aee..919049ab0 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -512,7 +512,7 @@ zccmd_clear(const char *nam, char **args)
 	return wclear(w->win) != OK;
     } else if (!strcmp(args[1], "eol")) {
 	return wclrtoeol(w->win) != OK;
-    } else if (!strmp(args[1], "bot")) {
+    } else if (!strcmp(args[1], "bot")) {
 	return wclrtobot(w->win) != OK;
     } else {
 	zwarnnam(nam, "`clear' expects `redraw', `eol' or `bot'");