Merge branch '2.3' into 2.4

This commit is contained in:
Markus Mäkelä
2020-10-23 12:42:46 +03:00

View File

@ -3305,7 +3305,7 @@ static bool handle_debug_args(char* args)
size_t total_len = 1;
for (int i = 0; debug_arguments[i].action != NULL; i++)
{
total_len += strlen(debug_arguments[i].name) + 1;
total_len += strlen(debug_arguments[i].name) + 2;
}
char arglist[total_len];
arglist[0] = '\0';