[Ttssh2-commit] [3367] IMEのインライン変換を韓国語モードでも行えるようにした

svnno****@sourc***** svnno****@sourc*****
2009年 4月 29日 (水) 12:12:37 JST


Revision: 3367
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3367
Author:   doda
Date:     2009-04-29 12:12:37 +0900 (Wed, 29 Apr 2009)

Log Message:
-----------
IMEのインライン変換を韓国語モードでも行えるようにした

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtdisp.c


-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2009-04-28 21:21:13 UTC (rev 3366)
+++ trunk/teraterm/teraterm/vtdisp.c	2009-04-29 03:12:37 UTC (rev 3367)
@@ -2080,10 +2080,12 @@
 	CaretX = (CursorX-WinOrgX)*FontWidth;
 	CaretY = (CursorY-WinOrgY)*FontHeight;
 
-	if ((ts.Language==IdJapanese) &&
+	if ((ts.Language==IdJapanese || ts.Language==IdKorean) &&
 	    CanUseIME() && (ts.IMEInline>0))
+	{
 		/* set IME conversion window pos. & font */
 		SetConversionWindow(HVTWin,CaretX,CaretY);
+	}
 
 	if (! CaretEnabled) return;
 
@@ -3300,7 +3302,7 @@
 		ActiveWin = IdVT;
 	}
 	else {
-		if ((ts.Language==IdJapanese) &&
+		if ((ts.Language==IdJapanese || ts.Language==IdKorean) &&
 		    CanUseIME())
 		{
 			/* position & font of conv. window -> default */



Ttssh2-commit メーリングリストの案内