summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-01-26 03:10:21 +0000
committersabetts <sabetts>2003-01-26 03:10:21 +0000
commit3a3cdd1597facb0045400f47f3286bef455f92aa (patch)
tree9a4fc923edce07547ecd7503d892d3412b64fc48
parentbf9397240778d2b75d531e76ddda9c7942371757 (diff)
downloadratpoison-3a3cdd1597facb0045400f47f3286bef455f92aa.zip
(cmd_defwaitcursor): error message correctly shows what command
the error occurred in.
-rw-r--r--ChangeLog2
-rw-r--r--src/actions.c2
2 files changed, 3 insertions, 1 deletions
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 <sabetts@sfu.ca>
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;