From d0d32cef57731d9e58ee4b6582877b026e1799ef Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Tue, 14 Feb 2006 04:19:39 +0000 Subject: [PATCH] Let's not tempt fate. --- zsnes/src/win/winlink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 30ae8013..b497441f 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -3150,7 +3150,7 @@ void DisplayWIPDisclaimer() // This stupid function calculates a build hash based on the build date - unsigned int ver_len = sizeof(__DATE__) + sizeof(__TIME__) + 10; //+10 because some names are longer than others + unsigned int ver_len = strlen(__DATE__) + strlen(__TIME__) + 15; //+15 because some names are longer than others VERSION_STR = (char *)malloc(ver_len); *VERSION_STR = 0;