summaryrefslogtreecommitdiff
path: root/src/ResConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ResConfig.c')
-rw-r--r--src/ResConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ResConfig.c b/src/ResConfig.c
index c3bbd37..f73a358 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -620,7 +620,7 @@ _get_last_part(char *remainder, char **part)
*part = XtNewString(tight);
return ('.');
}
- if ((tight == NULL) || (loose && (strcoll(tight, loose) < 0))) {
+ if ((tight == NULL) || (strcoll(tight, loose) < 0)) {
*loose++ = '\0';
*part = XtNewString(loose);
return ('*');