summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2008-04-28 18:33:43 +0800
committerSam Spilsbury <smspillaz@gmail.com>2008-04-28 18:33:43 +0800
commit047003f85658f0cd62714cb3b90f089a7a3af0c0 (patch)
treec2f9fe84d5b1389f3679866e1c6d1bcd508790b4 /connect.c
parent7a501dc13d6d3588adca7d5b9e0be78695a7cd3c (diff)
downloadwiimote-047003f85658f0cd62714cb3b90f089a7a3af0c0.tar.gz
wiimote-047003f85658f0cd62714cb3b90f089a7a3af0c0.tar.bz2
* Reload the options on initDisplay so that if one of the multilists is blank and reloadWiimoteOptions does not get called for that multilist, then we do not end up with a bunch of garbadge variables what strncpy() dies on
Diffstat (limited to 'connect.c')
-rw-r--r--connect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/connect.c b/connect.c
index 0b4226e..d29ff59 100644
--- a/connect.c
+++ b/connect.c
@@ -21,6 +21,8 @@
#include "compiz-wiimote.h"
#include "wiimote_options.h"
+static int wiimoteDisplayPrivateIndex;
+
/* Wii Remote Connection / Handling --------------------------------------------------- */
/* Allocate a callback function */