mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 22:15:33 +02:00
Remove debug message box from openRead
This commit is contained in:
parent
f4da232a8b
commit
241e278c16
2 changed files with 1 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef USE_FAKEAPI
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __WIN32__
|
||||
#include <windows.h>
|
||||
|
|
|
@ -637,8 +637,6 @@ openReadEnumCB(void *d, const char *dirpath, const char *filename)
|
|||
|
||||
void FileSystem::openRead(OpenHandler &handler, const char *filename)
|
||||
{
|
||||
// FIXME: Paths with Windows drive letters don't
|
||||
// hecking work, apparently never did
|
||||
char *filename_nm = normalize(filename, false, false);
|
||||
char buffer[512];
|
||||
size_t len = strcpySafe(buffer, filename_nm, sizeof(buffer), -1);
|
||||
|
@ -667,7 +665,6 @@ void FileSystem::openRead(OpenHandler &handler, const char *filename)
|
|||
file = delim+1;
|
||||
dir = buffer;
|
||||
}
|
||||
shState->eThread().showMessageBox([[OFString stringWithFormat:@"%s,%s,%s",dir,file,buffer] UTF8String]);
|
||||
OpenReadEnumData data(handler, file, len + buffer - delim - !root,
|
||||
p->havePathCache ? &p->pathCache : 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue