From 61deef5cdf96cbfdd6ad45be49e80d597c00ca65 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期二, 24 十二月 2024 08:37:21 +0800
Subject: [PATCH] 2024-12-24

---
 MTerm1/DialogDateTime.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MTerm1/DialogDateTime.cpp b/MTerm1/DialogDateTime.cpp
index 8ad502a..dfa1fa2 100644
--- a/MTerm1/DialogDateTime.cpp
+++ b/MTerm1/DialogDateTime.cpp
@@ -132,7 +132,7 @@
 
 	CTime time1(year,mon,day,hour,min,sec);
 	__time32_t time2 = (__time32_t)time1.GetTime();
-	pDoc->MyKLink1.SetDateTime32(1, time2);
+	theApp.MyKLink1.SetDateTime32(1, time2);
 //	MyKLink1.WriteDataByte(1, 4, MyKLink1.KLDataTypeSDT, 36, (unsigned char *)&time2);
 
 }

--
Gitblit v1.9.1