shithub: pt2-clone

Download patch

ref: bc2399919157dda16f0fb67aa40bc947198c2dab
parent: f23b8e9bfa60397d47741e21520bca1349fbb0a3
author: Olav Sørensen <olav.sorensen@live.no>
date: Mon Nov 30 12:34:46 EST 2020

Forgot these changes!

--- a/src/pt2_header.h
+++ b/src/pt2_header.h
@@ -14,7 +14,7 @@
 #include "pt2_unicode.h"
 #include "pt2_palette.h"
 
-#define PROG_VER_STR "1.25"
+#define PROG_VER_STR "1.26"
 
 #ifdef _WIN32
 #define DIR_DELIMITER '\\'
--- a/src/pt2_module_saver.c
+++ b/src/pt2_module_saver.c
@@ -130,6 +130,7 @@
 	int32_t i, j;
 	struct stat statBuffer;
 
+	memset(tmpBuffer, 0, sizeof (tmpBuffer));
 	memset(fileName, 0, sizeof (fileName));
 
 	if (config.modDot)