Skip to content

Commit

Permalink
Fix segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Oct 11, 2024
1 parent 305742c commit 18d706f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ static _TCHAR** getAdditionalVMArgs() {
int argc = 0;
_TCHAR** argv = NULL;

for (_TCHAR** path = additionalVmargsPath; path; path++) {
for (_TCHAR** path = additionalVmargsPath; *path; path++) {
if (readConfigFile(*path, &argc, &argv) == 0) {
break;
}
Expand Down

0 comments on commit 18d706f

Please sign in to comment.