diff options
author | dnobori <da.git@softether.co.jp> | 2021-08-15 19:13:46 +0300 |
---|---|---|
committer | dnobori <da.git@softether.co.jp> | 2021-08-15 19:13:46 +0300 |
commit | 005285bf4326276fc58aa2a03b90f8020302638f (patch) | |
tree | 1d8aa745f8ffab99dbb7fcb05566e03dff2733c6 /src/Mayaqua/Kernel.c | |
parent | ddc99f085fd6c54feaf4e41912bc8ab5903bdf8e (diff) |
v4.37-9758-betav4.37-9758-beta
Diffstat (limited to 'src/Mayaqua/Kernel.c')
-rw-r--r-- | src/Mayaqua/Kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mayaqua/Kernel.c b/src/Mayaqua/Kernel.c index 28dd4b6e..2edc142e 100644 --- a/src/Mayaqua/Kernel.c +++ b/src/Mayaqua/Kernel.c @@ -566,7 +566,7 @@ void GetHomeDir(char *path, UINT size) if (GetEnv("HOMEDRIVE", drive, sizeof(drive)) &&
GetEnv("HOMEPATH", hpath, sizeof(hpath)))
{
- Format(path, sizeof(path), "%s%s", drive, hpath);
+ Format(path, size, "%s%s", drive, hpath);
}
else
{
|