aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/xcms/cmsColNm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/xcms/cmsColNm.c')
-rw-r--r--nx-X11/lib/src/xcms/cmsColNm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xcms/cmsColNm.c b/nx-X11/lib/src/xcms/cmsColNm.c
index c6f1e0f31..829749112 100644
--- a/nx-X11/lib/src/xcms/cmsColNm.c
+++ b/nx-X11/lib/src/xcms/cmsColNm.c
@@ -314,7 +314,7 @@ field2(
/* Find Field 1 */
while (!isgraph(*pBuf)) {
- if ((*pBuf != '\n') || (*pBuf != '\0')) {
+ if ((*pBuf == '\n') || (*pBuf == '\0')) {
return(XcmsFailure);
}
if (isspace(*pBuf) || (*pBuf == delim)) {