fix DECL_AUTOCONF_DEVICE macro

don't use string literal replacement for binds, which is a macro its self
This commit is contained in:
John Grub 2014-06-14 13:33:18 -07:00
parent f76a0c4953
commit a79ac53f4b

View File

@ -20,6 +20,6 @@
#define DECL_BTN(btn, bind) "input_" #btn "_btn = " #bind "\n"
#define DECL_AXIS(axis, bind) "input_" #axis "_axis = " #bind "\n"
#define DECL_MENU(btn) "input_menu_toggle_btn = " #btn "\n"
#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" #binds
#define DECL_AUTOCONF_DEVICE(device, driver, binds) "input_device = \"" #device "\" \ninput_driver = \"" #driver "\" \n" binds
#endif