From 4dfb88353b3671a71bc397d5f210d71f67f8fb04 Mon Sep 17 00:00:00 2001
From: QuakeGod <quakegod@sina.com>
Date: 星期一, 23 十月 2023 15:17:10 +0800
Subject: [PATCH] fix1

---
 MTerm1/MTerm1View.cpp |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/MTerm1/MTerm1View.cpp b/MTerm1/MTerm1View.cpp
index 8a0bc34..33d09da 100644
--- a/MTerm1/MTerm1View.cpp
+++ b/MTerm1/MTerm1View.cpp
@@ -2557,8 +2557,7 @@
 	needReDraw = 1;
 	return 0;
 }
-bool firstCoil = true;//鏈绗竴涓崟鍏冩牸
-bool isPops = false;
+
 /// <summary>
 /// 姊舰鍥捐浆Prog
 /// </summary>
@@ -2750,7 +2749,7 @@
 		OpShowTxt = OpShowTxtA;
 		s1.Format(_T("%d %s %s"), optype, OpTxt, OpShowTxt);
 		pDoc->Progs[i] = allprogs.Progs[i];
-//		DbgLog(s1);
+		DbgLog(s1);
 	}
 	pDoc->m_nProgSteps = n;
 	return 0;
@@ -3227,7 +3226,7 @@
 	return 0;
  }
 //	璁板綍y,x
-std::pair<int, int> popsPoint[100];		int nPSHS = -1;
+
 int CMTerm1View::ScanLDSCells2(int nStartLine, int nEndLine, int nPosY, int nPosX, int nSizeX,
 	int nLevel, stProgSection& progsec, CString& sProgSec, int& nSteps)
 {
@@ -3254,7 +3253,7 @@
 		stProgSection thisprogsec;
 
 		//鍒ゆ柇瓒婄晫
-		if (j + nNextX >= m_CellPerLine)
+		if (j + nNextX > m_CellPerLine)
 		{
 			continue;
 		}

--
Gitblit v1.9.1