From d8e2bb4f2964476133a0d851beb8241a8d51418a Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 2 Jun 2016 12:43:03 +0100 Subject: [PATCH] Credits updates. --- data/credits/credits.json | 3 ++- src/game/credits.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/credits/credits.json b/data/credits/credits.json index 4839462..163f265 100644 --- a/data/credits/credits.json +++ b/data/credits/credits.json @@ -35,6 +35,7 @@ "0 24 http://game-icons.net/lorc/originals/trophy.html", "75 30 TRANSLATIONS", + "0 24 Lumidify Productions (German)", "75 30 DEVELOPMENT SOFTWARE", @@ -258,7 +259,7 @@ "0 24 https://twitter.com/tgfcoder", "75 30 SPECIAL THANKS", - "0 24 Szunti, Bertram25, bentley, akien-mga", + "0 24 Szunti, Bertram25, bentley, akien-mga, ChliHug", "150 24 This is a work of fiction. Names, characters, businesses, places, events and incidents are either the products of the author's imagination or used in a fictitious manner. Any resemblance to actual persons, living or dead, or actual events is purely coincidental. The Battle for the Solar System : The Pandoran War is (C) 2015-2016, Stephen J Sweeney, Some Rights Reserved. The Battle for the Solar System and all related materials (including, but not limited to, characters, setting, and story elements) are (C) 2009-2016, Stephen J Sweeney, All Rights Reserved.", diff --git a/src/game/credits.c b/src/game/credits.c index 2785346..dc178e8 100644 --- a/src/game/credits.c +++ b/src/game/credits.c @@ -129,7 +129,7 @@ static void loadCredits(void) c->text = malloc(sizeof(char) * strlen(node->valuestring)); memset(c->text, '\0', sizeof(char) * strlen(node->valuestring)); - sscanf(node->valuestring, "%d %d %1023[^\n]", &dist, &c->size, c->text); + sscanf(node->valuestring, "%d %d %[^\n]", &dist, &c->size, c->text); c->y += dist; c->h = getWrappedTextHeight(c->text, c->size);