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