diff options
Diffstat (limited to 'usr.bin/vgrind')
-rw-r--r-- | usr.bin/vgrind/vfontedpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c index bd153a8..da301ee 100644 --- a/usr.bin/vgrind/vfontedpr.c +++ b/usr.bin/vgrind/vfontedpr.c @@ -275,8 +275,8 @@ main(argc, argv) l_chrbeg = convexp(cp); cgetustr(defs, "le", &cp); l_chrend = convexp(cp); - cgetustr(defs, "nc", &cp); - l_nocom = convexp(cp); + if (cgetustr(defs, "nc", &cp) >= 0) + l_nocom = convexp(cp); l_escape = '\\'; l_onecase = (cgetcap(defs, "oc", ':') != NULL); l_toplex = (cgetcap(defs, "tl", ':') != NULL); |