[Ttssh2-commit] [6515] インデント修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2016年 10月 27日 (木) 12:06:46 JST


Revision: 6515
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6515
Author:   doda
Date:     2016-10-27 12:06:46 +0900 (Thu, 27 Oct 2016)
Log Message:
-----------
インデント修正

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2016-10-27 03:06:43 UTC (rev 6514)
+++ trunk/teraterm/teraterm/vtterm.c	2016-10-27 03:06:46 UTC (rev 6515)
@@ -4914,42 +4914,41 @@
 
 BOOL CheckKanji(BYTE b)
 {
-  BOOL Check;
+	BOOL Check;
 
-  if (ts.Language!=IdJapanese) return FALSE;
+	if (ts.Language!=IdJapanese)
+		return FALSE;
 
-  ConvJIS = FALSE;
+	ConvJIS = FALSE;
 
-  if (ts.KanjiCode==IdSJIS)
-  {
-    if ((0x80<b) && (b<0xa0) || (0xdf<b) && (b<0xfd))
-      return TRUE; // SJIS kanji
-    if ((0xa1<=b) && (b<=0xdf))
-      return FALSE; // SJIS katakana
-  }
+	if (ts.KanjiCode==IdSJIS) {
+		if ((0x80<b) && (b<0xa0) || (0xdf<b) && (b<0xfd)) {
+			return TRUE; // SJIS kanji
+		}
+		if ((0xa1<=b) && (b<=0xdf)) {
+			return FALSE; // SJIS katakana
+		}
+	}
 
-  if ((b>=0x21) && (b<=0x7e))
-  {
-    Check = (Gn[Glr[0]]==IdKanji);
-    ConvJIS = Check;
-  }
-  else if ((b>=0xA1) && (b<=0xFE))
-  {
-    Check = (Gn[Glr[1]]==IdKanji);
-    if (ts.KanjiCode==IdEUC)
-      Check = TRUE;
-    else if (ts.KanjiCode==IdJIS)
-    {
-      if (((ts.TermFlag & TF_FIXEDJIS)!=0) &&
-	  (ts.JIS7Katakana==0))
-	Check = FALSE; // 8-bit katakana
-    }
-    ConvJIS = Check;
-  }
-  else
-    Check = FALSE;
+	if ((b>=0x21) && (b<=0x7e)) {
+		Check = (Gn[Glr[0]]==IdKanji);
+		ConvJIS = Check;
+	}
+	else if ((b>=0xA1) && (b<=0xFE)) {
+		Check = (Gn[Glr[1]]==IdKanji);
+		if (ts.KanjiCode==IdEUC) {
+			Check = TRUE;
+		}
+		else if (ts.KanjiCode==IdJIS && ((ts.TermFlag & TF_FIXEDJIS)!=0) && (ts.JIS7Katakana==0)) {
+			Check = FALSE; // 8-bit katakana
+		}
+		ConvJIS = Check;
+	}
+	else {
+		Check = FALSE;
+	}
 
-  return Check;
+	return Check;
 }
 
 BOOL CheckKorean(BYTE b)



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