X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xaw%2Fxoptions.c;h=6a193a00ecd7e0b2e911059d8bd3342ad44db3d7;hb=321f4bd746c5269f4c630149887796293afd5249;hp=7f73a0bca8873e639899541a66f218f8abff9c3c;hpb=889a5a2b3038012a2fddb09e946d1b324323b202;p=xboard.git diff --git a/xaw/xoptions.c b/xaw/xoptions.c index 7f73a0b..6a193a0 100644 --- a/xaw/xoptions.c +++ b/xaw/xoptions.c @@ -201,7 +201,8 @@ LoadListBox (Option *opt, char *emptyText, int n1, int n2) { static char *dummyList[2]; dummyList[0] = emptyText; // empty listboxes tend to crash X, so display user-supplied warning string instead - XawListChange(opt->handle, *(char*)opt->target ? opt->target : dummyList, 0, 0, True); + XawListChange(opt->handle, *(char**)opt->target ? opt->target : dummyList, 0, 0, True); +//printf("listbox data = %x\n", opt->target); } int