about summary refs log tree commit diff
path: root/Src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/text.c')
-rw-r--r--Src/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/text.c b/Src/text.c
index 235064efc..ab052b22a 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -378,8 +378,8 @@ gettext2(Estate state)
 		    n = tpush(code, 1);
 		    n->u._funcdef.strs = state->strs;
 		    n->u._funcdef.end = end;
-		    state->strs = (char *) (p + (*state->pc));
-		    state->pc += 2;
+		    state->strs += *state->pc;
+		    state->pc += 3;
 		}
 	    } else {
 		state->strs = s->u._funcdef.strs;