summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/newt/checkbox.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-06 06:30:51 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-06 06:30:51 +0000
commitf46306945c95adc9a6232ce86f908f2a51a771dd (patch)
tree7cfaba83c1935bc6624472e44d94f38ced09039c /mdk-stage1/newt/checkbox.c
parentab69c718222a8ad2f0fd91d26c6ca8dde5e5e797 (diff)
downloaddrakx-backup-do-not-use-f46306945c95adc9a6232ce86f908f2a51a771dd.tar
drakx-backup-do-not-use-f46306945c95adc9a6232ce86f908f2a51a771dd.tar.gz
drakx-backup-do-not-use-f46306945c95adc9a6232ce86f908f2a51a771dd.tar.bz2
drakx-backup-do-not-use-f46306945c95adc9a6232ce86f908f2a51a771dd.tar.xz
drakx-backup-do-not-use-f46306945c95adc9a6232ce86f908f2a51a771dd.zip
Stage 1 compilation fixes for gcc 4.0 :
* more casts signed<->unsigned types * make choose_iso_in_directory()'s return type "void" * change order of .h files in network.c so strndup is included correctly * newt: initialize some variables properly * compile pcmcia and ppp with -Wno-deprecated-declarations, since they use deprecated types such as u_int32_t
Diffstat (limited to 'mdk-stage1/newt/checkbox.c')
-rw-r--r--mdk-stage1/newt/checkbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/newt/checkbox.c b/mdk-stage1/newt/checkbox.c
index eee514c98..643609d34 100644
--- a/mdk-stage1/newt/checkbox.c
+++ b/mdk-stage1/newt/checkbox.c
@@ -193,6 +193,8 @@ struct eventResult cbEvent(newtComponent co, struct event ev) {
struct checkbox * cb = co->data;
struct eventResult er;
const char * cur;
+ er.result = ER_IGNORED;
+ er.u.focus = NULL;
if (ev.when == EV_NORMAL) {
switch (ev.event) {