aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-07-04 22:03:43 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-07-04 22:03:43 +0200
commitecaa59963c8b77801bf20c4e888b83a922125b36 (patch)
tree27d42bf65f7f7c2272a6f45fb7c28b30e89e5d79 /src
parent2352079d0c54955f69b9070fc022c5f099906805 (diff)
downloadpolecat-ecaa59963c8b77801bf20c4e888b83a922125b36.tar.gz
polecat-ecaa59963c8b77801bf20c4e888b83a922125b36.zip
fix wrong comparison, remove whitespace, add Makefile and Doxyfile
Diffstat (limited to 'src')
-rw-r--r--src/lutris.c2
-rw-r--r--src/main.c1
-rw-r--r--src/wine.c1
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]))
{
diff --git a/src/main.c b/src/main.c
index 653a1b3..8a17e37 100644
--- a/src/main.c
+++ b/src/main.c
@@ -64,7 +64,6 @@ COMMAND(main, env)
{
char buffer[PATH_MAX];
-
printf("user-Agent:\t\t%s\n", USER_AGENT);
getConfigDir(buffer, sizeof(buffer));
diff --git a/src/wine.c b/src/wine.c
index e843b35..830f9ee 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -138,6 +138,7 @@ COMMAND(wine, remove)
return EXIT_FAILURE;
}
}
+ puts(winepath);
int retval = removeDir(winepath);
if (!retval)