[Ttssh2-commit] [6151] param9 までしかない ( それ以降は無視される ) ので、paramcnt の上限も 9 に変更する。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2015年 11月 18日 (水) 19:19:11 JST


Revision: 6151
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6151
Author:   doda
Date:     2015-11-18 19:19:11 +0900 (Wed, 18 Nov 2015)
Log Message:
-----------
param9 までしかない(それ以降は無視される)ので、paramcnt の上限も 9 に変更する。
# せっかく配列があるのだから、配列にして上限を無くす方がいいのかも

Modified Paths:
--------------
    trunk/teraterm/ttpmacro/ttmdlg.cpp

-------------- next part --------------
Modified: trunk/teraterm/ttpmacro/ttmdlg.cpp
===================================================================
--- trunk/teraterm/ttpmacro/ttmdlg.cpp	2015-11-17 17:03:24 UTC (rev 6150)
+++ trunk/teraterm/ttpmacro/ttmdlg.cpp	2015-11-18 10:19:11 UTC (rev 6151)
@@ -110,7 +110,12 @@
 		cur = next;
 	}
 
-	ParamCnt = j;
+	if (j > 9) {
+		ParamCnt = 9;
+	}
+	else {
+		ParamCnt = j;
+	}
 
 	if (FileName[0]=='*') {
 		FileName[0] = 0;



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