diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/troff/dwbinit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/troff/dwbinit.c b/src/cmd/troff/dwbinit.c index 9c1845b0..064a0b02 100644 --- a/src/cmd/troff/dwbinit.c +++ b/src/cmd/troff/dwbinit.c @@ -189,7 +189,8 @@ char *DWBhome(void) if ( (home = DWBHOME) == NULL || *home == '\0' || *home == ' ' ) home = NULL; } /* End if */ - home = unsharp(home); + if ( home != NULL ) + home = unsharp(home); } /* End if */ while (home && *home == '/' && *(home +1) == '/') /* remove extra slashes */ |