]> git.draconx.ca Git - rrace.git/blobdiff - src/motif_ui.c
Fix build on older Motif without XmPIXMAP_AND_STRING.
[rrace.git] / src / motif_ui.c
index 7eafc643744db24bce10aeaf05bf0b3a5c01350c..127de061bbc1a84608cfe95a09a953631bc25bb1 100644 (file)
@@ -408,7 +408,10 @@ void ui_show_about(struct app_state *state, Widget shell)
 
        msg = version_format_head("rrace-motif");
        l = XmMessageBoxGetChild(w, XmDIALOG_MESSAGE_LABEL);
-       XtVaSetValues(l, XmNlabelType, XmPIXMAP_AND_STRING,
+       XtVaSetValues(l, XmNlabelType, XmSTRING,
+#if HAVE_MOTIF_PIXMAP_AND_STRING
+                        XmNlabelType, XmPIXMAP_AND_STRING,
+#endif
                         XmNlabelPixmap, state->icon_pixmap,
                         STRING_ARG(XmNlabelString, msg),
                         (char *)NULL);