[Ttssh2-commit] [5588] インデント調整

svnno****@sourc***** svnno****@sourc*****
2014年 5月 19日 (月) 14:19:51 JST


Revision: 5588
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5588
Author:   doda
Date:     2014-05-19 14:19:51 +0900 (Mon, 19 May 2014)
Log Message:
-----------
インデント調整

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2014-05-19 03:11:52 UTC (rev 5587)
+++ trunk/teraterm/teraterm/vtterm.c	2014-05-19 05:19:51 UTC (rev 5588)
@@ -770,47 +770,43 @@
 	int i = 0;
 
 	if (DebugFlag!=DEBUG_FLAG_NONE) {
-  InsertMode = FALSE;
-  AutoWrapMode = TRUE;
+		InsertMode = FALSE;
+		AutoWrapMode = TRUE;
 
-	  if (DebugFlag==DEBUG_FLAG_HEXD) {
-		_snprintf(buff,3,"%02X",(unsigned int) b);
+		if (DebugFlag==DEBUG_FLAG_HEXD) {
+			_snprintf(buff, 3, "%02X", (unsigned int) b);
 
-		for (;i<2;i++)
-			PutChar(buff[i]);
-		PutChar(' ');
-	  }
-	  else if (DebugFlag==DEBUG_FLAG_NORM) {
+			for ( ; i<2; i++)
+				PutChar(buff[i]);
+			PutChar(' ');
+		}
+		else if (DebugFlag==DEBUG_FLAG_NORM) {
 
-  if ((b & 0x80) == 0x80)
-  {
-    UpdateStr();
-    CharAttr.Attr = AttrReverse;
-    b = b & 0x7f;
-  }
+			if ((b & 0x80) == 0x80) {
+				UpdateStr();
+				CharAttr.Attr = AttrReverse;
+				b = b & 0x7f;
+			}
 
-  if (b<=US)
-  {
-    PutChar('^');
-    PutChar((char)(b+0x40));
-  }
-  else if (b==DEL)
-  {
-    PutChar('<');
-    PutChar('D');
-    PutChar('E');
-    PutChar('L');
-    PutChar('>');
-  }
-  else
-    PutChar(b);
-	  }
+			if (b<=US) {
+				PutChar('^');
+				PutChar((char)(b+0x40));
+			}
+			else if (b==DEL) {
+				PutChar('<');
+				PutChar('D');
+				PutChar('E');
+				PutChar('L');
+				PutChar('>');
+			}
+			else
+				PutChar(b);
+		}
 
-  if (CharAttr.Attr != AttrDefault)
-  {
-    UpdateStr();
-    CharAttr.Attr = AttrDefault;
-  }
+		if (CharAttr.Attr != AttrDefault) {
+			UpdateStr();
+			CharAttr.Attr = AttrDefault;
+		}
 	}
 }
 



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