mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix -debug argument
processArguments is called before ComputeDebugMode gets called, Logs::DebugEnabled gets overriden that way. Fix that by setting gDebugMode variable and checking it in ComputeDebugMode.
This commit is contained in:
@@ -47,6 +47,7 @@ bool gRestartingUpdate = false, gRestarting = false, gRestartingToSettings = fal
|
||||
int32 gLastUpdateCheck = 0;
|
||||
bool gNoStartUpdate = false;
|
||||
bool gStartToSettings = false;
|
||||
bool gDebugMode = false;
|
||||
|
||||
uint32 gConnectionsInSession = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user