aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-04-19 12:05:28 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-04-19 12:05:28 +0200
commit4785be414a4d2d06992fdcb96cba453be3267bc0 (patch)
tree49f6733892465c3fa083e183306485b26fa036f2 /src/config.c
parent48b21b73d2cafca5a146546191972217b452a799 (diff)
downloadpolecat-4785be414a4d2d06992fdcb96cba453be3267bc0.tar.gz
polecat-4785be414a4d2d06992fdcb96cba453be3267bc0.zip
improve grammar, concat lutris search arguments, patch leaking memory
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 0f514f3..f05f5c1 100644
--- a/src/config.c
+++ b/src/config.c
@@ -26,7 +26,6 @@ static void getXDGDir(const char* envvar, const char* homeext, char* config, con
#endif
home = "";
}
- if (!home) home = "";
strncpy(config, home, size);
strncat(config, homeext, size - strlen(config));
}