From fc49d6611f73d921b5c1c2f328662ae11e72a760 Mon Sep 17 00:00:00 2001 From: henyxia Date: Fri, 8 May 2015 21:21:51 +0200 Subject: [PATCH] Fixed call --- ui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui.c b/ui.c index cdbb43b..5a0c7b1 100644 --- a/ui.c +++ b/ui.c @@ -67,9 +67,10 @@ int calculateInteraction(int act, int x, int y) case SC_HOME: return act; case SC_MAIN: - strcat(filename, "map/main.map"); + strcpy(filename, "map/main.map"); break; default: + printx(ERROR, UI, "Unrecognized state %d\n", act); return act; } -- libgit2 0.21.2