]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
Accept "ctrl" + "=" for increasing console text size (#167)
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index a3a6d9268601045bd102472293893308021bc966..0762490e5fee4b634e68cb02191a0bf13b1f9660 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1265,7 +1265,7 @@ static void Key_Console(cmd_state_t *cmd, int key, int unicode)
        if (keydown[K_CTRL])
        {
                // text zoom in
-               if ((key == '+' || key == K_KP_PLUS) && KM_CTRL)
+               if ((key == '=' || key == '+' || key == K_KP_PLUS) && KM_CTRL)
                {
                        if (con_textsize.integer < 128)
                                Cvar_SetValueQuick(&con_textsize, con_textsize.integer + 1);