summaryrefslogtreecommitdiff
path: root/src/tc-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tc-format.c')
-rw-r--r--src/tc-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tc-format.c b/src/tc-format.c
index 7e90664..ad067ee 100644
--- a/src/tc-format.c
+++ b/src/tc-format.c
@@ -70,7 +70,7 @@ static void t_format(int argc)
HXformat_add(fmt, "TWOARG", "a, b", HXTYPE_STRING | HXFORMAT_IMMED);
++argc;
printf("# HXformat2\n");
- for (s = fmt2_strings; *s != '\0'; ++s)
+ for (s = fmt2_strings; *s != NULL; ++s)
HXformat_fprintf(fmt, stdout, *s);
HXformat_free(fmt);
}