aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2016-04-25 12:53:02 +0200
committerDmitrij D. Czarkoff <czarkoff@gmail.com>2016-04-25 12:53:02 +0200
commitb0af8b3d256d3cdc6a4f5005b559912392d6a8cc (patch)
tree821262037e7c4bc97c04457bbad54e98ea04e8c4 /src/main.c
parent080104cbc04336d02e4df713719931cae1c748c1 (diff)
downloadimv-b0af8b3d256d3cdc6a4f5005b559912392d6a8cc.tar.gz
Make '+' work on all layouts
Key handling code obuses the fact that plus sign is shifted key for equals sign on US keyboard. Add '+' as a control for layouts where this is not the case.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 1e57f1f..9a267e9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -363,6 +363,7 @@ int main(int argc, char** argv)
delay_msec = 0;
break;
case SDLK_EQUALS:
+ case SDLK_PLUS:
case SDLK_i:
case SDLK_UP:
imv_viewport_zoom(&view, &tex, IMV_ZOOM_KEYBOARD, 1);