summaryrefslogtreecommitdiff
path: root/lib/pile.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pile.c')
-rw-r--r--lib/pile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pile.c b/lib/pile.c
index 6459019..02a418a 100644
--- a/lib/pile.c
+++ b/lib/pile.c
@@ -55,7 +55,7 @@ void push_pile(char *st)
pushcontext(_("it's a name"));
if (*st == '\'') {
st++;
- st[strlen(st) + 1] = 0;
+ st[strlen(st) - 1] = 0;
}
push_pile_string(Estrdup(st));
popcontext();