FIX: use current_language_code_safe() for valid language

Change-Id: I480730055588aa76bd40f35e6c4bcbe9833c330d
This commit is contained in:
chunmao.guo
2023-08-11 15:22:45 +08:00
committed by Lane.Wei
parent af534509b3
commit 5eba42b565
6 changed files with 8 additions and 23 deletions

View File

@@ -351,8 +351,6 @@ void OG_CustomCtrl::OnMotion(wxMouseEvent& event)
wxString tooltip;
std::string markdowntip;
wxString language = wxGetApp().app_config->get("language");
// BBS: markdown tip
CtrlLine* focusedLine = nullptr;
// BBS