[ttssh2-commit] [10351] ANSI APIで文字描画時の文字列幅設定の不要処理を削除

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 11月 7日 (月) 00:34:56 JST


Revision: 10351
          https://osdn.net/projects/ttssh2/scm/svn/commits/10351
Author:   zmatsuo
Date:     2022-11-07 00:34:56 +0900 (Mon, 07 Nov 2022)
Log Message:
-----------
ANSI APIで文字描画時の文字列幅設定の不要処理を削除

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2022-11-06 15:34:46 UTC (rev 10350)
+++ trunk/teraterm/teraterm/vtdisp.c	2022-11-06 15:34:56 UTC (rev 10351)
@@ -2600,18 +2600,14 @@
 	vtdisp_work_t *w = &vtdisp_work;
 
 	{
-		const BYTE *p = (BYTE *)StrA;
 		const char *wp = WidthInfo;
 		int *d = Dx;
 		for (i = 0; i < Count; i++) {
 			int w = *wp++;
-			BYTE b = *p;
 			int j;
 			*d++ = font_width;
-			p++;
 			for (j = 0; j < w - 1; j++) {
 				*d++ = font_width;
-				p++;
 				wp++;
 				i++;
 			}


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