소스 검색

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

Source commit: dbc9763432d7f3c544429b4ed2a609e53cf56f0c
Martin Prikryl 5 년 전
부모
커밋
b8d57e7719
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  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)