diff options
Diffstat (limited to 'nx-X11/lib/modules/om/generic/omTextEsc.c')
-rw-r--r-- | nx-X11/lib/modules/om/generic/omTextEsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/lib/modules/om/generic/omTextEsc.c b/nx-X11/lib/modules/om/generic/omTextEsc.c index df1fb10c0..2aaff73db 100644 --- a/nx-X11/lib/modules/om/generic/omTextEsc.c +++ b/nx-X11/lib/modules/om/generic/omTextEsc.c @@ -169,10 +169,10 @@ TextWidthWithFontSet( * */ - if(fd == (FontData) NULL || - (font = font_set->font) == (XFontStruct *) NULL) { + if((font = font_set->font) == (XFontStruct *) NULL) { - if((font = fd->font) == (XFontStruct *) NULL) + if(fd == (FontData) NULL || + (font = fd->font) == (XFontStruct *) NULL) break; } |