projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c83af0
)
Improved error message for setq()/setr() with an odd number of arguments
author
Ari Johnson
<ari@cobramush.org>
Wed, 21 Feb 2007 14:20:30 +0000
(14:20 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Wed, 21 Feb 2007 14:20:30 +0000
(14:20 +0000)
src/funmisc.c
patch
|
blob
|
history
diff --git
a/src/funmisc.c
b/src/funmisc.c
index e858d4f2d59d7b208b862dd0218d15569ddbdc59..8757a6018be4a76954834d12c23c9b216972ac23 100644
(file)
--- a/
src/funmisc.c
+++ b/
src/funmisc.c
@@
-162,7
+162,9
@@
FUNCTION(fun_setq)
int n;
if ((nargs % 2) != 0) {
- safe_str(T("#-1 FUNCTION EXPECTS AN EVEN NUMBER OF ARGUMENTS"), buff, bp);
+ safe_format(buff, bp,
+ T("#-1 FUNCTION (%s) EXPECTS AN EVEN NUMBER OF ARGUMENTS"),
+ called_as);
return;
}