Ver Fonte

Separating context from error

(cherry picked from commit 9242eaf945f05842380346bae73ed54bd7a121cc)

Source commit: b417695ed3aecd7d7383e4308a3ea4ace54ba10c
Martin Prikryl há 5 anos atrás
pai
commit
55609e080c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      source/core/Exceptions.cpp

+ 1 - 1
source/core/Exceptions.cpp

@@ -542,6 +542,6 @@ UnicodeString __fastcall AddContextToExceptionMessage(const Exception & E, const
   {
   {
     Context += L"\n" + NewContext;
     Context += L"\n" + NewContext;
   }
   }
-  UnicodeString Result = MainInstructions(MainMessage) + Context;
+  UnicodeString Result = MainInstructions(MainMessage) + L"\n" + Context;
   return Result;
   return Result;
 }
 }