Error report in SDL 1.2.x Win32 Drag&Drop handling

This commit is contained in:
Thomas Bernard 2019-01-22 12:09:53 +01:00
parent 5377b8c9fe
commit 1b43b58fdd
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -1409,12 +1409,12 @@ int Get_input(int sleep_time)
else else
{ {
free(Drop_file_name); free(Drop_file_name);
// Don't report name copy error GFX2_Log(GFX2_ERROR, "Failed to get Drag filename\n");
} }
} }
else else
{ {
// Don't report alloc error (for a file name? :/ ) GFX2_Log(GFX2_ERROR, "Failed to allocate %ld bytes\n", len + 1);
} }
} }
else else