Skip to content

Commit 2b065bc

Browse files
Fixing config folder to use MAX_PATH
1 parent c2e266a commit 2b065bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/runcpp2/ConfigParsing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ bool runcpp2::ReadUserConfig( std::vector<Data::CompilerProfile>& outProfiles,
9797
//Check if user config exists
9898
char configDirC_Str[MAX_PATH] = {0};
9999

100-
get_user_config_folder(configDirC_Str, 512, "runcpp2");
100+
get_user_config_folder(configDirC_Str, MAX_PATH, "runcpp2");
101101

102102
if(strlen(configDirC_Str) == 0)
103103
{

0 commit comments

Comments
 (0)