projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d8aced6
)
Fix non-NLS compile error for XFontStruct
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 13 Oct 2012 07:33:39 +0000 (09:33 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 21 Oct 2012 08:53:44 +0000 (10:53 +0200)
xboard.c
patch
|
blob
|
history
xoptions.c
patch
|
blob
|
history
diff --git
a/xboard.c
b/xboard.c
index
c97ca69
..
1062885
100644
(file)
--- a/
xboard.c
+++ b/
xboard.c
@@
-1454,7
+1454,7
@@
XBoard square size (hint): %d\n\
#if ENABLE_NLS
&clockFontSet);
#else
- &clockFonStruct);
+ clockFontStruct);
#endif
boardWidget = optList[W_BOARD].handle;
menuBarWidget = optList[W_MENU].handle;
diff --git
a/xoptions.c
b/xoptions.c
index
b95cb22
..
08e18a0
100644
(file)
--- a/
xoptions.c
+++ b/
xoptions.c
@@
-883,7
+883,7
@@
GenericPopUp (Option *option, char *title, DialogClass dlgNr, DialogClass parent
#if ENABLE_NLS
if(option[i].choice) XtSetArg(args[j], XtNfontSet, *(XFontSet*)option[i].choice), j++;
#else
- if(option[i].choice) XtSetArg(args[j], XtNfont, *(XFontStruct*)option[i].choice), j++;
+ if(option[i].choice) XtSetArg(args[j], XtNfont, (XFontStruct*)option[i].choice), j++;
#endif
XtSetArg(args[j], XtNresizable, False); j++;
XtSetArg(args[j], XtNjustify, XtJustifyLeft); j++;