BWindow: use Unicode lowercase method
This commit is contained in:
parent
6180dde498
commit
26a23118e7
@ -32,6 +32,7 @@
|
||||
#include <Roster.h>
|
||||
#include <Screen.h>
|
||||
#include <String.h>
|
||||
#include <UnicodeChar.h>
|
||||
|
||||
#include <AppMisc.h>
|
||||
#include <AppServerLink.h>
|
||||
@ -293,8 +294,7 @@ BWindow::Shortcut::PrepareModifiers(uint32 modifiers)
|
||||
uint32
|
||||
BWindow::Shortcut::PrepareKey(uint32 key)
|
||||
{
|
||||
return tolower(key);
|
||||
// TODO: support unicode and/or more intelligent key mapping
|
||||
return BUnicodeChar::ToLower(key);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user