(device_open): Add parens in `if' condition.
authorhanda <handa>
Wed, 16 Jun 2004 00:11:15 +0000 (00:11 +0000)
committerhanda <handa>
Wed, 16 Jun 2004 00:11:15 +0000 (00:11 +0000)
src/m17n-X.c

index f1cc4f5..24b5c4b 100644 (file)
@@ -2155,7 +2155,7 @@ device_open (MFrame *frame, MPlist *param)
                    && (name = ((char *)
                                XGetAtomName (display, (Atom) value))))
                  {
-                   if (frame->font = mfont_parse_name (name, Mx))
+                   if ((frame->font = mfont_parse_name (name, Mx)))
                      nfonts = 1;
                  }
                XFreeFont (display, xfont);