Преглед изворни кода

* ensure that exitcode is 0 at start

git-svn-id: trunk@3144 -
florian пре 19 година
родитељ
комит
6df561bd95
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      rtl/win64/system.pp

+ 1 - 0
rtl/win64/system.pp

@@ -398,6 +398,7 @@ procedure Exe_entry;[public,alias:'_FPC_EXE_Entry'];
      install_exception_handlers;
      { This strange construction is needed to solve the _SS problem
        with a smartlinked syswin32 (PFV) }
+     ExitCode:=0;
      asm
          { allocate space for an exception frame }
         pushl $0