mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 18:34:06 +00:00
make all calls to winapi format-agnostic (#1470)
This commit is contained in:
@@ -177,7 +177,7 @@ MxLong MxBitmap::Read(const char* p_filename)
|
||||
MxResult result = FAILURE;
|
||||
HANDLE handle = 0;
|
||||
|
||||
handle = CreateFileA(p_filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
handle = CreateFile(p_filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
|
||||
if (handle == INVALID_HANDLE_VALUE) {
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user