From 257342cb7726011a9d95b574d29146b2a60465f4 Mon Sep 17 00:00:00 2001 From: "Alan R.T. Spencer" Date: Sun, 26 May 2024 21:52:43 +0100 Subject: [PATCH] Reverts the strcpy_s(namebuff, buffer); to strcpy(namebuff, buffer); --- SPIERSview/src/spvreader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SPIERSview/src/spvreader.cpp b/SPIERSview/src/spvreader.cpp index 6eaba29..fcb35bd 100644 --- a/SPIERSview/src/spvreader.cpp +++ b/SPIERSview/src/spvreader.cpp @@ -151,7 +151,8 @@ void SPVReader::internalProcessFile(QString filename) buffer[strlen(buffer) - 1] = 0; //lose the newline character char namebuff[200]; - strcpy_s(namebuff, buffer); + strcpy(namebuff, buffer); + //strcpy_s(namebuff, buffer); if (strcmp("END", buffer) == 0 && filecount == 0) return; //Error - sp2 file does not refer to any spv files if (strcmp("END", buffer) != 0)