[Ttssh2-commit] [5318] Intermediate Character付きの時にPrivate Parameterの有無を見ていなかったのを修正。

svnno****@sourc***** svnno****@sourc*****
2013年 6月 12日 (水) 14:34:03 JST


Revision: 5318
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5318
Author:   doda
Date:     2013-06-12 14:34:03 +0900 (Wed, 12 Jun 2013)
Log Message:
-----------
Intermediate Character付きの時にPrivate Parameterの有無を見ていなかったのを修正。

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2013-06-12 05:19:28 UTC (rev 5317)
+++ trunk/teraterm/teraterm/vtterm.c	2013-06-12 05:34:03 UTC (rev 5318)
@@ -3236,14 +3236,18 @@
 		} /* end of switch (Prv) */
 		break; /* end of no intermediate char */
 	  case 1: /* one intermediate char */
-		switch (IntChar[1]) {
-		  case ' ': CSSpace(b); break;  /* intermediate char = ' ' */
-		  case '!': CSExc(b); break;    /* intermediate char = '!' */
-		  case '"': CSDouble(b); break; /* intermediate char = '"' */
-		  case '$': CSDol(b); break;    /* intermediate char = '$' */
-		  case '\'': CSQuote(b); break; /* intermediate char = '\'' */
-		}
-		break;
+		switch (Prv) {
+		  case 0:
+			switch (IntChar[1]) {
+			  case ' ': CSSpace(b); break;  /* intermediate char = ' ' */
+			  case '!': CSExc(b); break;    /* intermediate char = '!' */
+			  case '"': CSDouble(b); break; /* intermediate char = '"' */
+			  case '$': CSDol(b); break;    /* intermediate char = '$' */
+			  case '\'': CSQuote(b); break; /* intermediate char = '\'' */
+			}
+			break; /* end of case Prv=0 */
+		} /* end of switch (Prv) */
+		break; /* end of one intermediate char */
 	} /* end of switch (Icount) */
 
 	ParseMode = ModeFirst;



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