[ttssh2-commit] [10709] fix typo

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2023年 5月 16日 (火) 22:16:37 JST


Revision: 10709
          https://osdn.net/projects/ttssh2/scm/svn/commits/10709
Author:   zmatsuo
Date:     2023-05-16 22:16:37 +0900 (Tue, 16 May 2023)
Log Message:
-----------
fix typo

- SetDlgPaketNum() -> SetDlgPacketNum()

Modified Paths:
--------------
    trunk/teraterm/teraterm/filesys_proto.cpp
    trunk/teraterm/teraterm/filesys_proto.h
    trunk/teraterm/ttpfile/bplus.c
    trunk/teraterm/ttpfile/kermit.c
    trunk/teraterm/ttpfile/quickvan.c
    trunk/teraterm/ttpfile/xmodem.c
    trunk/teraterm/ttpfile/ymodem.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/filesys_proto.cpp
===================================================================
--- trunk/teraterm/teraterm/filesys_proto.cpp	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/teraterm/filesys_proto.cpp	2023-05-16 13:16:37 UTC (rev 10709)
@@ -110,7 +110,7 @@
 	SetDlgTime(fv->HWin, IDC_PROTOELAPSEDTIME, fv->StartTime, fv->ByteCount);
 }
 
-static void _SetDlgPaketNum(struct FileVarProto *fv, LONG Num)
+static void _SetDlgPacketNum(struct FileVarProto *fv, LONG Num)
 {
 	SetDlgNum(fv->HWin, IDC_PROTOPKTNUM, Num);
 }
@@ -235,7 +235,7 @@
 
 	fv->InitDlgProgress = _InitDlgProgress;
 	fv->SetDlgTime = _SetDlgTime;
-	fv->SetDlgPaketNum = _SetDlgPaketNum;
+	fv->SetDlgPacketNum = _SetDlgPacketNum;
 	fv->SetDlgByteCount = _SetDlgByteCount;
 	fv->SetDlgPercent = _SetDlgPercent;
 	fv->SetDlgProtoText = _SetDlgProtoText;

Modified: trunk/teraterm/teraterm/filesys_proto.h
===================================================================
--- trunk/teraterm/teraterm/filesys_proto.h	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/teraterm/filesys_proto.h	2023-05-16 13:16:37 UTC (rev 10709)
@@ -83,7 +83,7 @@
 	// UI
 	void (*InitDlgProgress)(struct FileVarProto *fv, int *CurProgStat);
 	void (*SetDlgTime)(struct FileVarProto *fv, DWORD elapsed, int bytes);
-	void (*SetDlgPaketNum)(struct FileVarProto *fv, LONG Num);
+	void (*SetDlgPacketNum)(struct FileVarProto *fv, LONG Num);
 	void (*SetDlgByteCount)(struct FileVarProto *fv, LONG Num);
 	void (*SetDlgPercent)(struct FileVarProto *fv, LONG a, LONG b, int *p);
 	void (*SetDlgProtoText)(struct FileVarProto *fv, const char *text);

Modified: trunk/teraterm/ttpfile/bplus.c
===================================================================
--- trunk/teraterm/ttpfile/bplus.c	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/ttpfile/bplus.c	2023-05-16 13:16:37 UTC (rev 10709)
@@ -553,7 +553,7 @@
     bv->PktNum = 0;
     bv->PktNumOffset = bv->PktNumOffset + 10;
   }
-  fv->SetDlgPaketNum(fv, bv->PktNum + bv->PktNumOffset);
+  fv->SetDlgPacketNum(fv, bv->PktNum + bv->PktNumOffset);
 
   if (bv->PktIn[1] != '+')
     BPSendACK(fv,bv,cv); /* Send ack */
@@ -828,7 +828,7 @@
       break;
     case BP_Failure: bv->BPState = BP_Close; break;
   }
-  fv->SetDlgPaketNum(fv, bv->PktNum + bv->PktNumOffset);
+  fv->SetDlgPacketNum(fv, bv->PktNum + bv->PktNumOffset);
 }
 
 static void BPDequote(LPBYTE b)

Modified: trunk/teraterm/ttpfile/kermit.c
===================================================================
--- trunk/teraterm/ttpfile/kermit.c	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/ttpfile/kermit.c	2023-05-16 13:16:37 UTC (rev 10709)
@@ -1637,7 +1637,7 @@
 			kv->PktNumOffset = kv->PktNumOffset + 64;
 	}
 
-	fv->SetDlgPaketNum(fv, kv->PktNum);
+	fv->SetDlgPacketNum(fv, kv->PktNum);
 
 	return TRUE;
 }

Modified: trunk/teraterm/ttpfile/quickvan.c
===================================================================
--- trunk/teraterm/ttpfile/quickvan.c	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/ttpfile/quickvan.c	2023-05-16 13:16:37 UTC (rev 10709)
@@ -572,7 +572,7 @@
   file->WriteFile(file,&(qv->PktIn[3]),C);
   fv->ByteCount = fv->ByteCount + C;
 
-  fv->SetDlgPaketNum(fv, qv->SeqNum);
+  fv->SetDlgPacketNum(fv, qv->SeqNum);
   fv->SetDlgByteCount(fv, fv->ByteCount);
   if (fv->FileSize>0)
     fv->SetDlgPercent(fv, fv->ByteCount, fv->FileSize, &fv->ProgStat);
@@ -957,7 +957,7 @@
 	file->Seek(file, Pos);
     file->ReadFile(file,&(qv->PktOut[3]),C);
     fv->ByteCount = Pos + (LONG)C;
-    fv->SetDlgPaketNum(fv, qv->SeqSent);
+    fv->SetDlgPacketNum(fv, qv->SeqSent);
     fv->SetDlgByteCount(fv, fv->ByteCount);
     fv->SetDlgPercent(fv, fv->ByteCount, fv->FileSize, &fv->ProgStat);
     fv->SetDlgTime(fv, fv->StartTime, fv->ByteCount);

Modified: trunk/teraterm/ttpfile/xmodem.c
===================================================================
--- trunk/teraterm/ttpfile/xmodem.c	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/ttpfile/xmodem.c	2023-05-16 13:16:37 UTC (rev 10709)
@@ -464,7 +464,7 @@
 
 	fv->ByteCount = fv->ByteCount + c;
 
-	fv->SetDlgPaketNum(fv, xv->PktNumOffset + xv->PktNum);
+	fv->SetDlgPacketNum(fv, xv->PktNumOffset + xv->PktNum);
 	fv->SetDlgByteCount(fv, fv->ByteCount);
 	fv->SetDlgTime(fv, fv->StartTime, fv->ByteCount);
 
@@ -620,10 +620,10 @@
 
 	if (xv->PktBufCount == 0) {
 		if (xv->PktNumSent == 0) {
-			fv->SetDlgPaketNum(fv, xv->PktNumOffset + 256);
+			fv->SetDlgPacketNum(fv, xv->PktNumOffset + 256);
 		}
 		else {
-			fv->SetDlgPaketNum(fv, xv->PktNumOffset + xv->PktNumSent);
+			fv->SetDlgPacketNum(fv, xv->PktNumOffset + xv->PktNumSent);
 		}
 		fv->SetDlgByteCount(fv, fv->ByteCount);
 		fv->SetDlgPercent(fv, fv->ByteCount, fv->FileSize, &fv->ProgStat);

Modified: trunk/teraterm/ttpfile/ymodem.c
===================================================================
--- trunk/teraterm/ttpfile/ymodem.c	2023-05-16 13:16:24 UTC (rev 10708)
+++ trunk/teraterm/ttpfile/ymodem.c	2023-05-16 13:16:37 UTC (rev 10709)
@@ -713,7 +713,7 @@
 
 	fv->ByteCount = fv->ByteCount + c;
 
-	fv->SetDlgPaketNum(fv, yv->PktNumOffset+yv->PktNum);
+	fv->SetDlgPacketNum(fv, yv->PktNumOffset+yv->PktNum);
 	fv->SetDlgByteCount(fv, fv->ByteCount);
 	fv->SetDlgTime(fv, fv->StartTime, fv->ByteCount);
 
@@ -1108,11 +1108,11 @@
 	{
 		if (0 == yv->PktNumSent)
 		{
-			fv->SetDlgPaketNum(fv, yv->PktNumOffset + 256);
+			fv->SetDlgPacketNum(fv, yv->PktNumOffset + 256);
 		}
 		else
 		{
-			fv->SetDlgPaketNum(fv, yv->PktNumOffset + yv->PktNumSent);
+			fv->SetDlgPacketNum(fv, yv->PktNumOffset + yv->PktNumSent);
 		}
 
 		fv->SetDlgByteCount(fv, fv->ByteCount);


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