From 50d9cea26af4aa0706b2407ebd301db6d47e9557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=9C=BB=E8=9C=93=E7=89=B9=E6=B4=BE=E5=91=98?= Date: Tue, 21 Apr 2020 14:11:05 +0800 Subject: [PATCH] ime dialog support other language where rename file (#563) --- main_context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main_context.c b/main_context.c index 59b02cc..0b81c33 100644 --- a/main_context.c +++ b/main_context.c @@ -1023,7 +1023,7 @@ static int contextMenuMainEnterCallback(int sel, void *context) { strcpy(name, file_entry->name); removeEndSlash(name); - initImeDialog(language_container[RENAME], name, MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); + initImeDialog(language_container[RENAME], name, MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0); setDialogStep(DIALOG_STEP_RENAME); } @@ -1275,7 +1275,7 @@ static int contextMenuNewEnterCallback(int sel, void *context) { count++; } initImeDialog(language_container[NEW_FILE], path + strlen(file_list.path), - MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); + MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0); setDialogStep(DIALOG_STEP_NEW_FILE); break; }; @@ -1300,7 +1300,7 @@ static int contextMenuNewEnterCallback(int sel, void *context) { } initImeDialog(language_container[NEW_FOLDER], path + strlen(file_list.path), - MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); + MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0); setDialogStep(DIALOG_STEP_NEW_FOLDER); break; };