From 1755f08e44b4a8a6bc60bc5c92fbc7fff558f32a Mon Sep 17 00:00:00 2001 From: Cracker64 Date: Thu, 3 Feb 2011 16:38:58 -0500 Subject: variables and if statements for scripts, GoL is glitchy for me, i don't know why diff --git a/src/interface.c b/src/interface.c index 2989571..346c923 100644 --- a/src/interface.c +++ b/src/interface.c @@ -3965,6 +3965,7 @@ int console_parse_type(char *txt, int *element, char *err) if (strcmp(txt,num)==0) { *element = i; + strcpy(err,""); return 1; } } @@ -3976,12 +3977,14 @@ int console_parse_type(char *txt, int *element, char *err) if (i>=0) { *element = i; + strcpy(err,""); return 1; } for (i=1; i=0 && i