[Scummvm-tracker] [ScummVM :: Bugs] #16261: WAGE: Can't type "$" on my Swedish keyboard

ScummVM :: Bugs trac at scummvm.org
Thu Oct 23 07:34:52 UTC 2025


#16261: WAGE: Can't type "$" on my Swedish keyboard
-------------------------+---------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: Wage
 Version:                |  Resolution:
Keywords:                |        Game:
-------------------------+---------------------------
Comment (by eriktorbjorn):

 I already mentioned this to sev privately, but it doesn't work. I can type
 the "$" and it appears, but as soon as I type something else it disappears
 again.

 Perhaps this is the correct fix? The idea here is that
 `MacTextWindow::processEvent()` should probably only terminate early if
 `MacText::processEvent()` actually handled the event.

 {{{
 diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
 index 35941d0710a..42925fe4e38 100644
 --- a/graphics/macgui/mactext.cpp
 +++ b/graphics/macgui/mactext.cpp
 @@ -1307,7 +1307,7 @@ bool MacText::processEvent(Common::Event &event) {
                                 }
                                 return true;
                         default:
 -                               break;
 +                               return false;
                         }
                 }

 diff --git a/graphics/macgui/mactextwindow.cpp
 b/graphics/macgui/mactextwindow.cpp
 index c8925ace3b0..975b4fe40a2 100644
 --- a/graphics/macgui/mactextwindow.cpp
 +++ b/graphics/macgui/mactextwindow.cpp
 @@ -272,7 +272,8 @@ bool MacTextWindow::processEvent(Common::Event &event)
 {
                 _wm->setActiveWindow(getId());

                 if (event.kbd.flags & (Common::KBD_ALT | Common::KBD_CTRL
 | Common::KBD_META)) {
 -                       return _mactext->processEvent(event);
 +                       if (_mactext->processEvent(event))
 +                               return true;
                 }

                 switch (event.kbd.keycode) {
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16261#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list