mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Missed one obvious Windows API use.
This commit is contained in:
@@ -58,7 +58,9 @@ CefSettings GetCefSettings() {
|
||||
return cef_settings;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) {
|
||||
#endif
|
||||
|
||||
// Do all the standard CEF setup stuff.
|
||||
//-------------------------------------
|
||||
@@ -68,7 +70,9 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd
|
||||
void * sandbox_info = scoped_sandbox.sandbox_info();
|
||||
|
||||
// Read command line arguments.
|
||||
#ifdef _WIN32
|
||||
CefMainArgs main_args(hInstance);
|
||||
#endif
|
||||
|
||||
// Create the process reference.
|
||||
CefRefPtr<loot::LootApp> app(new loot::LootApp);
|
||||
|
||||
Reference in New Issue
Block a user