From e81ddcffb98d8a20fe55bca5fea08e854d19ef06 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 3 Jan 2014 21:00:29 +0100 Subject: Padding no longer necessary. --- ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp index a22c90f4..a089385f 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp @@ -45,13 +45,6 @@ fin: g_pDI->Release(); } - for (int i = ui.joylist->count(); i < 8; i++) - { - GUID dummy = {0}; - guids.push_back(dummy); - ui.joylist->addItem("Nonexistent"); - } - tie_setting(s.joyid, ui.joylist); } -- cgit v1.2.3