[Freeciv-Dev] (PR#18598) gui-xaw: fix cma crash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#18598) gui-xaw: fix cma crash |
From: |
"Egor Vyscrebentsov" <evyscr@xxxxxxxxx> |
Date: |
Fri, 14 Jul 2006 06:26:13 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18598 >
Good daytime!
Easy patch that fix gui-xaw cma crashes.
--
Thanks, evyscr
Index: client/gui-xaw/cma_fe.c
===================================================================
--- client/gui-xaw/cma_fe.c (revision 12086)
+++ client/gui-xaw/cma_fe.c (working copy)
@@ -350,7 +350,8 @@
XtVaSetValues(stat_surplus_label[i], XtNwidth, 90, NULL);
XtVaSetValues(stat_factor_label[i], XtNwidth, 90, NULL);
} output_type_iterate_end;
- XtVaSetValues(stat_factor_label[i], XtNwidth, 90, NULL);
+ /* FIXME! Now we assume that output_type_iterate ends with O_COUNT. */
+ XtVaSetValues(stat_factor_label[O_COUNT], XtNwidth, 90, NULL);
XtRealizeWidget(cma_dialog);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#18598) gui-xaw: fix cma crash,
Egor Vyscrebentsov <=
|
|