[Ttssh2-commit] [6403] Merge branch 'macro-strreplace-fix'

svnno****@sourc***** svnno****@sourc*****
2016年 6月 20日 (月) 17:12:07 JST


Revision: 6403
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6403
Author:   doda
Date:     2016-06-20 17:12:07 +0900 (Mon, 20 Jun 2016)
Log Message:
-----------
Merge branch 'macro-strreplace-fix'

Modified Paths:
--------------
    trunk/teraterm/ttpmacro/ttl.c

-------------- next part --------------
Modified: trunk/teraterm/ttpmacro/ttl.c
===================================================================
--- trunk/teraterm/ttpmacro/ttl.c	2016-06-10 13:57:17 UTC (rev 6402)
+++ trunk/teraterm/ttpmacro/ttl.c	2016-06-20 08:12:07 UTC (rev 6403)
@@ -5014,7 +5014,7 @@
 	ret = FindRegexStringOne(oldstr, oldlen, p, strlen(p));
 	// FindRegexStringOne\x82̒\x86\x82\xC5UnlockVar()\x82\xB3\x82\xEA\x82Ă\xB5\x82܂\xA4\x82̂ŁALockVar()\x82\xB5\x82Ȃ\xA8\x82\xB7\x81B
 	LockVar();
-	if (ret == 0) {
+	if (ret <= 0) {
 		// \x8C\xA9\x82‚\xA9\x82\xE7\x82Ȃ\xA9\x82\xC1\x82\xBD\x8Fꍇ\x82́A"0"\x82Ŗ߂\xE9\x81B
 		result = 0;
 		goto error;



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