]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix bad use of "" vs string_null
authorRudolf Polzer <divverent@alientrap.org>
Sat, 21 Jan 2012 16:30:21 +0000 (17:30 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 21 Jan 2012 16:30:21 +0000 (17:30 +0100)
qcsrc/menu/xonotic/dialog_settings_input.c

index 6e15da11bc226d946089610549ceb632e33aaa92..96bf5e5c67d207f3b8b864535eca34c2a6628a85 100644 (file)
@@ -53,7 +53,7 @@ void XonoticInputSettingsTab_fill(entity me)
                        me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "joystick", _("Use joystick input")));
                else
                {
-                       me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "", _("Use joystick input")));
+                       me.TD(me, 1, 3, e = makeXonoticCheckBox(0, string_null, _("Use joystick input")));
                        e.disabled = 1; // the option is never available in this case, just there for show
                }
        me.TR(me);
@@ -77,7 +77,7 @@ void XonoticInputSettingsTab_fill(entity me)
                        me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, "apple_mouse_noaccel", _("Disable system mouse acceleration")));
                else
                {
-                       me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, "", _("Disable system mouse acceleration")));
+                       me.TD(me, 1, 2.8, e = makeXonoticCheckBox(0, string_null, _("Disable system mouse acceleration")));
                        e.disabled = 1; // the option is never available in this case, just there for show
                }
        me.TR(me);