author | glx |
Thu, 05 Oct 2006 19:00:24 +0000 | |
changeset 4744 | 7b525c53bdee |
parent 4743 | 899c83de4004 |
child 4745 | 008f7cbbb5bc |
player_gui.c | file | annotate | diff | comparison | revisions |
--- a/player_gui.c Thu Oct 05 18:35:09 2006 +0000 +++ b/player_gui.c Thu Oct 05 19:00:24 2006 +0000 @@ -508,10 +508,9 @@ static void SelectPlayerFaceWndProc(Window *w, WindowEvent *e) { switch (e->event) { - case WE_CREATE: LowerWindowWidget(w, WP(w, facesel_d).gender + 5); break; - case WE_PAINT: { Player *p; + LowerWindowWidget(w, WP(w, facesel_d).gender + 5); DrawWindowWidgets(w); p = GetPlayer(w->window_number); DrawPlayerFace(WP(w,facesel_d).face, p->player_color, 2, 16);