Ver código fonte

Failure when starting without the main window (caused by 3241540a)

Source commit: dbc9763432d7f3c544429b4ed2a609e53cf56f0c
Martin Prikryl 5 anos atrás
pai
commit
b8d57e7719
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      source/windows/TerminalManager.cpp

+ 4 - 1
source/windows/TerminalManager.cpp

@@ -1267,7 +1267,10 @@ void __fastcall TTerminalManager::AuthenticatingDone()
 void __fastcall TTerminalManager::TerminalInformation(
   TTerminal * Terminal, const UnicodeString & Str, bool /*Status*/, int Phase)
 {
-  ScpExplorer->TerminalConnecting();
+  if (ScpExplorer != NULL)
+  {
+    ScpExplorer->TerminalConnecting();
+  }
   if (Phase == 1)
   {
     if (FAuthenticating == 0)