From c3fb2ac54aba3f1cab85e2e73552d5ab14bd4e9c Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 7 Feb 2010 10:38:38 +0100 Subject: [PATCH] Fix error that compiler does not notice Boolean GLT_GetFromList did not return a value. But no error on Ubuntu! --- xgamelist.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xgamelist.c b/xgamelist.c index aa7c6a2..4eb1d38 100644 --- a/xgamelist.c +++ b/xgamelist.c @@ -643,6 +643,7 @@ void GLT_AddToList(char *name) Boolean GLT_GetFromList(int index, char *name) { strcpy(name, strings[index]); + return TRUE; } void GLT_DeSelectList() -- 1.7.0.4