diff options
author | endolf <[email protected]> | 2005-11-11 19:22:55 +0000 |
---|---|---|
committer | endolf <[email protected]> | 2005-11-11 19:22:55 +0000 |
commit | 5a1e5dec0a64fb74b7ccfb74992cd6c3293e2410 (patch) | |
tree | bb8fe1dc61465bb9359e4cf8f01d3a3f7dceff0d /plugins/linux | |
parent | c2b01d6c50108d64084c4c8edcdb2e291ce6d8ed (diff) |
Let me just say ....
Ooops
was forgetting to increment a counter
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@129 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/linux')
-rw-r--r-- | plugins/linux/src/native/jinput.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/linux/src/native/jinput.cpp b/plugins/linux/src/native/jinput.cpp index 2123d0b..39eaf06 100644 --- a/plugins/linux/src/native/jinput.cpp +++ b/plugins/linux/src/native/jinput.cpp @@ -120,6 +120,7 @@ JNIEXPORT jint JNICALL Java_net_java_games_input_JInputLibrary_nativeInit if(jsDevices[i]!=NULL) { LOG_TRACE("Copying joystick device %d to jinput device list %d\n", i, jinputNumDevices); jinputDeviceList[jinputNumDevices] = jsDevices[i]; + jinputNumDevices++; } } |