From ecaa59963c8b77801bf20c4e888b83a922125b36 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Sun, 4 Jul 2021 22:03:43 +0200 Subject: fix wrong comparison, remove whitespace, add Makefile and Doxyfile --- src/lutris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lutris.c') diff --git a/src/lutris.c b/src/lutris.c index f1c4e2d..26d8bb6 100644 --- a/src/lutris.c +++ b/src/lutris.c @@ -658,7 +658,7 @@ struct script_t lutris_getInstaller(char* installername) case TASK: json_object_object_get_ex(directive, "name", &options[0]); const char* name = json_object_get_string(options[0]); - for (int k = 0; k <= TASKKEYWORDMAX; ++k) + for (int k = 0; k < TASKKEYWORDMAX; ++k) { if (!strcmp(name, taskKeywordstr[k])) { -- cgit v1.2.3