forked from Mirrors/openclonk
Fix erroneous use of C4UpdateDlg
parent
67cc074f95
commit
14251a7a31
|
@ -144,7 +144,7 @@ bool C4Application::DoInit(int argc, char * argv[])
|
|||
if (!IsResStrTableLoaded())
|
||||
Log("WARNING: No language string table loaded!");
|
||||
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && defined(WITH_AUTOMATIC_UDPATE)
|
||||
// Windows: handle incoming updates directly, even before starting up the gui
|
||||
// because updates will be applied in the console anyway.
|
||||
if (Application.IncomingUpdate)
|
||||
|
|
|
@ -21,10 +21,11 @@
|
|||
*/
|
||||
// dialogs for update, and the actual update application code
|
||||
|
||||
#include "C4Include.h"
|
||||
|
||||
// Don't compile this class if automatic update is disabled
|
||||
#ifdef WITH_AUTOMATIC_UPDATE
|
||||
|
||||
#include "C4Include.h"
|
||||
|
||||
#include "C4UpdateDlg.h"
|
||||
|
||||
#include "C4DownloadDlg.h"
|
||||
|
|
Loading…
Reference in New Issue