Fixed #5441, thank you @ekse

This commit is contained in:
Armin Novak 2019-06-25 10:25:31 +02:00
parent 85eae4686c
commit 6d553a7f3c

View File

@ -418,7 +418,7 @@ static BOOL process_file_name(const char* local_name, wArrayList* files)
static BOOL process_uri(const char* uri, size_t uri_len, wArrayList* files)
{
const char* prefix = "file://";
const char prefix []= "file://";
BOOL result = FALSE;
char* name = NULL;
const size_t prefixLen = strnlen(prefix, sizeof(prefix));