aboutsummaryrefslogtreecommitdiff
path: root/src/wine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wine.c')
-rw-r--r--src/wine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wine.c b/src/wine.c
index 687150c..16de494 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -71,7 +71,7 @@ int wine_download(int argc, char** argv)
getDataDir(datadir, sizeof(datadir));
makeDir(datadir);
- strncpy(downloadpath, datadir, sizeof(downloadpath) - 1);
+ strncpy(downloadpath, datadir, sizeof(downloadpath));
strncat(downloadpath, "/", sizeof(downloadpath) - strlen(downloadpath) - 1);
strncat(downloadpath, name, sizeof(downloadpath) - strlen(downloadpath) - 1);