[Ttssh2-commit] [5433] ts. IgnoreCharContinuedLineURLが空の時は前行の行末文字によらずに継続していると判断するように変更。

svnno****@sourc***** svnno****@sourc*****
2013年 11月 25日 (月) 17:21:28 JST


Revision: 5433
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5433
Author:   doda
Date:     2013-11-25 17:21:27 +0900 (Mon, 25 Nov 2013)
Log Message:
-----------
ts.IgnoreCharContinuedLineURLが空の時は前行の行末文字によらずに継続していると判断するように変更。

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/buffer.c
===================================================================
--- trunk/teraterm/teraterm/buffer.c	2013-11-25 06:45:26 UTC (rev 5432)
+++ trunk/teraterm/teraterm/buffer.c	2013-11-25 08:21:27 UTC (rev 5433)
@@ -1599,9 +1599,11 @@
 		PrevCharPtr = PrevLinePtr(LinePtr) + NumOfColumns-1;
 		PrevCharCode = CodeBuff[PrevCharPtr];
 		PrevCharAttr = AttrBuff[PrevCharPtr];
-		if ((PrevCharAttr & AttrURL) && (!(ch & 0x80) && url_char[ch]) &&
-		   ((AttrLine[0] & AttrLineContinued) || (ts.JoinSplitedURL && PrevCharCode == ts.IgnoreCharContinuedLineURL))) {
-			AttrLine[0] |= AttrURL; 
+		if ((PrevCharAttr & AttrURL) && !(ch & 0x80) && url_char[ch]) {
+			if ((AttrLine[0] & AttrLineContinued) || (ts.JoinSplitedURL &&
+			    (PrevCharCode == ts.IgnoreCharContinuedLineURL || ts.IgnoreCharContinuedLineURL == '\0' ))) {
+				AttrLine[0] |= AttrURL; 
+			}
 		}
 		return;
 	}



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