mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v2.8.3.1
This commit is contained in:
@@ -64,10 +64,10 @@ public class GfoConsoleWin implements GfoInvkAble, UsrMsgWkr {
|
||||
}
|
||||
public void ExecUsrMsg(int type, UsrMsg umsg) {
|
||||
if (win == null) this.Init();
|
||||
String s = umsg.XtoStr();
|
||||
String s = umsg.To_str();
|
||||
if (type == UsrMsgWkr_.Type_Warn) {
|
||||
if (!win.Pin()) win.Pin_();
|
||||
s = "!!warn!! " + umsg.XtoStr();
|
||||
s = "!!warn!! " + umsg.To_str();
|
||||
if (logger == null) return;
|
||||
logger.Write(s);
|
||||
}
|
||||
|
||||
@@ -56,6 +56,6 @@ class GfuiWinKeyCmdMgr implements GfuiWinOpenAble, GfoInvkAble, GfoEvObj {
|
||||
}
|
||||
public static IptKey ExtractKeyFromText(String raw) {
|
||||
int pos = ExtractPosFromText(raw); if (pos == String_.Find_none) return IptKey_.None;
|
||||
return IptKey_.parse_("key." + String_.Lower(Char_.XtoStr(String_.CharAt(raw, pos + 1)))); // pos=& pos; + 1 to get next letter
|
||||
return IptKey_.parse_("key." + String_.Lower(Char_.To_str(String_.CharAt(raw, pos + 1)))); // pos=& pos; + 1 to get next letter
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user