summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/ss/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ss/help.c b/src/util/ss/help.c
index 10b1c1075..981a75fab 100644
--- a/src/util/ss/help.c
+++ b/src/util/ss/help.c
@@ -107,7 +107,7 @@ void ss_add_info_dir(sci_idx, info_dir, code_ptr)
register char **dirs;
info = ss_info(sci_idx);
- if (info_dir == NULL && *info_dir) {
+ if ((info_dir == NULL) || (*info_dir == '\0')) {
*code_ptr = SS_ET_NO_INFO_DIR;
return;
}