diff options
-rw-r--r-- | Src/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/text.c b/Src/text.c index 73b9088f2..0e7406970 100644 --- a/Src/text.c +++ b/Src/text.c @@ -308,7 +308,7 @@ gettext2(struct node *n) taddstr(*p++); taddstr(" in"); tindent++; - for (; *l; p++, l++) { + for (; l && *l; p++, l++) { if (tnewlins) taddnl(); else |