diff options
author | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-25 12:53:02 +0200 |
---|---|---|
committer | Dmitrij D. Czarkoff <czarkoff@gmail.com> | 2016-04-25 12:53:02 +0200 |
commit | b0af8b3d256d3cdc6a4f5005b559912392d6a8cc (patch) | |
tree | 821262037e7c4bc97c04457bbad54e98ea04e8c4 /src | |
parent | 080104cbc04336d02e4df713719931cae1c748c1 (diff) | |
download | imv-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')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |