]> diplodocus.org Git - nmh/blobdiff - uip/mhlsbr.c
Oops, should have offset file in showbuildenv rather than cat.
[nmh] / uip / mhlsbr.c
index bd354a3..ee045ea 100644 (file)
@@ -1214,7 +1214,7 @@ mcomp_format (struct mcomp *c1, struct mcomp *c2)
 
        fmt_scan (c1->c_fmt, scanl, BUFSIZ - 1, dat, NULL);
        buffer = charstring_buffer_copy (scanl);
-       if (strlen (buffer) > 0) {
+       if (*buffer) {
            if (c2->c_text)
                c2->c_text = add (",\n", c2->c_text);
            if (*(cp = buffer + strlen (buffer) - 1) == '\n')