1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 05:36:35 +01:00

code cleanup

This commit is contained in:
Jfreegman
2014-06-11 18:47:18 -04:00
parent 31acdcada3
commit 31a2e648c5
6 changed files with 37 additions and 951 deletions

View File

@@ -146,7 +146,7 @@ static void uset_dwnld_path(struct user_settings *s, const char *val)
strcpy(s->download_path, val);
if (val[len] != '/')
if (val[len - 1] != '/')
strcat(s->download_path, "/");
}