HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f228362
)
(keyword_print): Substract 1 from length of symbol name, accounting
author
Marius Vollmer
<mvo@zagadka.de>
Mon, 4 Jun 2001 22:17:17 +0000
(22:17 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Mon, 4 Jun 2001 22:17:17 +0000
(22:17 +0000)
for the silly dash.
libguile/keywords.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/keywords.c
b/libguile/keywords.c
index
a3819c6
..
53f457c
100644
(file)
--- a/
libguile/keywords.c
+++ b/
libguile/keywords.c
@@
-62,8
+62,8
@@
static int
keyword_print (SCM exp, SCM port, scm_print_state *pstate)
{
scm_puts ("#:", port);
- scm_print_symbol_name (
1 + SCM_SYMBOL_CHARS (SCM_CDR (exp))
,
- SCM_SYMBOL_LENGTH (SCM_CDR (exp)),
+ scm_print_symbol_name (
SCM_SYMBOL_CHARS (SCM_CDR (exp)) + 1
,
+ SCM_SYMBOL_LENGTH (SCM_CDR (exp))
- 1
,
port);
return 1;
}