From 7eaee18003314a215047d8db0a9cb4634191ea34 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 27 Aug 2013 22:55:52 +0200 Subject: [PATCH] Fix -zippyVariants option Due to the change of cps->variants from (char []) to (char *), copying zippyVariants to it on behalf of v1 engines would no longer work. This is fixed by using ASSIGN() in stead of safeStrCpy(). --- zippy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zippy.c b/zippy.c index 9453c90..09e8c7d 100644 --- a/zippy.c +++ b/zippy.c @@ -200,7 +200,7 @@ ZippyInit () if (p != NULL) { appData.zippyVariants = p; } - safeStrCpy(first.variants, appData.zippyVariants, sizeof(first.variants)/sizeof(first.variants[0])); + ASSIGN(first.variants, appData.zippyVariants); srandom(time(NULL)); } -- 1.7.0.4