From 3a3cdd1597facb0045400f47f3286bef455f92aa Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 26 Jan 2003 03:10:21 +0000 Subject: (cmd_defwaitcursor): error message correctly shows what command the error occurred in. --- ChangeLog | 2 ++ src/actions.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7f56502..80de8bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * src/actions.c (cmd_help): Print key binding when called non-interactively. + (cmd_defwaitcursor): error message correctly shows what command + the error occurred in. 2002-12-11 Shawn diff --git a/src/actions.c b/src/actions.c index cabe3ca..bb5a36b 100644 --- a/src/actions.c +++ b/src/actions.c @@ -2032,7 +2032,7 @@ cmd_defwaitcursor (int interactive, void *data) if (data == NULL || sscanf (data, "%d", &defaults.wait_for_key_cursor) < 1) { - message (" defwaitforkey: One argument required "); + message (" defwaitcursor: One argument required "); } return NULL; -- cgit v1.2.3