set system message box on top when recovery

This commit is contained in:
2018-10-17 00:28:35 +02:00
parent b5b1823797
commit 73228a4bf1

View File

@@ -390,7 +390,7 @@ static void SetupExceptionHandler()
GetFullPathNameA(path.c_str(), MAX_PATH, abspath, NULL); GetFullPathNameA(path.c_str(), MAX_PATH, abspath, NULL);
static char message[4096]; static char message[4096];
snprintf(message, sizeof(message), "File recovered in: %s", abspath); snprintf(message, sizeof(message), "File recovered in: %s", abspath);
MessageBoxA(NULL, message, "File Recovery", MB_OK | MB_ICONWARNING); MessageBoxA(hWnd, message, "File Recovery", MB_OK | MB_ICONWARNING);
} }
LogRemote::I.file_close(); LogRemote::I.file_close();
}, 0); }, 0);