Error report in SDL 1.2.x Win32 Drag&Drop handling
This commit is contained in:
parent
5377b8c9fe
commit
1b43b58fdd
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user