diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-07-04 22:03:43 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-07-04 22:03:43 +0200 |
commit | ecaa59963c8b77801bf20c4e888b83a922125b36 (patch) | |
tree | 27d42bf65f7f7c2272a6f45fb7c28b30e89e5d79 /src | |
parent | 2352079d0c54955f69b9070fc022c5f099906805 (diff) | |
download | polecat-ecaa59963c8b77801bf20c4e888b83a922125b36.tar.gz polecat-ecaa59963c8b77801bf20c4e888b83a922125b36.zip |
fix wrong comparison, remove whitespace, add Makefile and Doxyfile
Diffstat (limited to 'src')
-rw-r--r-- | src/lutris.c | 2 | ||||
-rw-r--r-- | src/main.c | 1 | ||||
-rw-r--r-- | src/wine.c | 1 |
3 files changed, 2 insertions, 2 deletions
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])) { @@ -64,7 +64,6 @@ COMMAND(main, env) { char buffer[PATH_MAX]; - printf("user-Agent:\t\t%s\n", USER_AGENT); getConfigDir(buffer, sizeof(buffer)); @@ -138,6 +138,7 @@ COMMAND(wine, remove) return EXIT_FAILURE; } } + puts(winepath); int retval = removeDir(winepath); if (!retval) |