diff options
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r-- | src/Intrinsic.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c index 07ccc78..ede8e6f 100644 --- a/src/Intrinsic.c +++ b/src/Intrinsic.c @@ -1293,8 +1293,7 @@ FillInLangSubs(Substitution subs, XtPerDisplay pd) char **rest; char *ch; - if (pd->language == NULL || - (pd->language != NULL && pd->language[0] == '\0')) { + if (pd->language == NULL || pd->language[0] == '\0') { subs[0].substitution = subs[1].substitution = subs[2].substitution = subs[3].substitution = NULL; return; @@ -1302,7 +1301,7 @@ FillInLangSubs(Substitution subs, XtPerDisplay pd) string = ExtractLocaleName(pd->language); - if (string == NULL || (string != NULL && string[0] == '\0')) { + if (string == NULL || string[0] == '\0') { subs[0].substitution = subs[1].substitution = subs[2].substitution = subs[3].substitution = NULL; return; |