URL: <http://gna.org/bugs/?25237>
Summary: experimental zoom feature fails if GDK_KEY_plus requires pressing shift key Project: Freeciv Submitted by: jochent Submitted on: Fri 28 Oct 2016 01:39:35 AM UTC Category: client-gtk-3.0 Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: S2_6 Discussion Lock: Any Operating System: GNU/Linux Planned Release: Contains string changes: None _______________________________________________________ Details: Hi, the logic in line 490 of client/gui-gtk-3.0/gui_main.c (r33913 in S2_6 or r33912 in trunk) means that on keyboards where emitting 'GDK_KEY_plus' requires pressing the shift key the experimental zoom-in code is never reached (i.e. zooming in does not work). Zooming out works perfectly fine so the problem is not elsewhere. It appears to me that you should simply remove the 'else' in line 490 and make this a separate conditional statement. This change makes zoom work for me (on Gentoo Linux with a custom ebuild). It's great to finally have a working zoom feature! Cheers, Jochen _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?25237> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev