X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=ebdd93cb4aa889ede129be21191ddbf435015937;hb=faa0fea4cf9cc9de2d73add4695af3ed06517787;hp=721b2a291bb2b950bd08f9d8c87484933dc9475b;hpb=bb308d141da0e79f9010aef7eb48f1d4044bab4e;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 721b2a2..ebdd93c 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1931,7 +1931,7 @@ static int pmFromX = -1, pmFromY = -1; void *userLogo; void -DisplayLogos (void *w1, void *w2) +DisplayLogos (Option *w1, Option *w2) { void *whiteLogo = first.programLogo, *blackLogo = second.programLogo; if(appData.autoLogo) { @@ -2018,14 +2018,14 @@ Option mainOptions[] = { // description of main window in terms of generic dialo Option * LogoW (int n, int x, int y) { - if(n == 10) DisplayLogos(mainOptions[W_WHITE-1].handle, NULL); + if(n == 10) DisplayLogos(&mainOptions[W_WHITE-1], NULL); return NULL; } Option * LogoB (int n, int x, int y) { - if(n == 10) DisplayLogos(NULL, mainOptions[W_BLACK+1].handle); + if(n == 10) DisplayLogos(NULL, &mainOptions[W_BLACK+1]); return NULL; }