[Ttssh2-commit] [8009] ロシア語の文字コード設定はホストのみ

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 8月 23日 (金) 00:30:06 JST


Revision: 8009
          https://osdn.net/projects/ttssh2/scm/svn/commits/8009
Author:   zmatsuo
Date:     2019-08-23 00:30:06 +0900 (Fri, 23 Aug 2019)
Log Message:
-----------
ロシア語の文字コード設定はホストのみ

Modified Paths:
--------------
    branches/unicode_buf/teraterm/ttpdlg/ttdlg.c

-------------- next part --------------
Modified: branches/unicode_buf/teraterm/ttpdlg/ttdlg.c
===================================================================
--- branches/unicode_buf/teraterm/ttpdlg/ttdlg.c	2019-08-22 14:21:09 UTC (rev 8008)
+++ branches/unicode_buf/teraterm/ttpdlg/ttdlg.c	2019-08-22 15:30:06 UTC (rev 8009)
@@ -47,6 +47,7 @@
 #include "dlg_res.h"
 #include "svnversion.h"
 #include "ttdlg.h"
+#include "unicode_test.h"
 
 // Oniguruma: Regular expression library
 #define ONIG_EXTERN extern
@@ -95,7 +96,7 @@
 static PCHAR KanjiInList[] = {"^[$@","^[$B",NULL};
 static PCHAR KanjiOutList[] = {"^[(B","^[(J",NULL};
 static PCHAR KanjiOutList2[] = {"^[(B","^[(J","^[(H",NULL};
-static PCHAR RussList[] = {"Windows","KOI8-R","CP 866","ISO 8859-5",NULL};
+static PCHAR RussList[] = {"Windows(CP 1251)","KOI8-R","CP 866","ISO 8859-5",NULL};
 static PCHAR RussList2[] = {"Windows","KOI8-R",NULL};
 static PCHAR LocaleList[] = {"japanese","chinese", "chinese-simplified", "chinese-traditional", NULL};
 static PCHAR MetaList[] = {"off", "on", "left", "right", NULL};
@@ -244,6 +245,10 @@
 				SetDropDownList(Dialog,IDC_TERMRUSSHOST,RussList,ts->RussHost);
 				SetDropDownList(Dialog,IDC_TERMRUSSCLIENT,RussList,ts->RussClient);
 				SetDropDownList(Dialog,IDC_TERMRUSSFONT,RussList,ts->RussFont);
+#if UNICODE_INTERNAL_BUFF
+				EnableWindow(GetDlgItem(Dialog, IDC_TERMRUSSCLIENT),FALSE);
+				EnableWindow(GetDlgItem(Dialog, IDC_TERMRUSSFONT),FALSE);
+#endif
 			}
 			else if (ts->Language==IdKorean) { // HKS
 				SetDropDownList(Dialog, IDC_TERMKANJI, KoreanList, KanjiCode2List(ts->Language,ts->KanjiCode));


Ttssh2-commit メーリングリストの案内
Back to archive index