diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-02-13 11:24:13 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-02-13 11:24:13 +0100 |
| commit | 9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e (patch) | |
| tree | 138dc39b708378f56bf0a5a6ef6fa5e99c704b66 /src/main.c | |
| parent | 8309b63fb10cba69ef5374f9c2e5416369d84bb2 (diff) | |
| download | box64-9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e.tar.gz box64-9c8b663d5bc1f30717aa4d87cc63d1c9ebfa1c8e.zip | |
Various minor warning fixes
Diffstat (limited to 'src/main.c')
| -rwxr-xr-x | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 4691d5fc..2ac564cc 100755 --- a/src/main.c +++ b/src/main.c @@ -1131,7 +1131,7 @@ static void load_rcfiles() char* p = getenv("HOME"); if(p) { char tmp[4096]; - strncpy(tmp, p, 4096); + strncpy(tmp, p, 4095); strncat(tmp, "/.box64rc", 4095); if(FileExist(tmp, IS_FILE)) LoadRCFile(tmp); |