aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-27 12:31:21 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-27 12:31:21 +0000
commite4c30499349a0cc5b75fce7e59dc0a4abfa0a10e (patch)
tree668a4f7e90c7db8fa2247206621f0020a1b20117 /Game
parent08ac48400b9cd669ef80c9ed0f1acf57743d6875 (diff)
downloadusdx-e4c30499349a0cc5b75fce7e59dc0a4abfa0a10e.tar.gz
usdx-e4c30499349a0cc5b75fce7e59dc0a4abfa0a10e.tar.xz
usdx-e4c30499349a0cc5b75fce7e59dc0a4abfa0a10e.zip
FileErrorO is set to true to early. Even if FileError couldn't be opened it will be set to true and hence usdx tries to close and unopened fileerror-stream later which results in a segmentation fault
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@750 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game')
-rw-r--r--Game/Code/Classes/ULog.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/ULog.pas b/Game/Code/Classes/ULog.pas
index 01eff5f4..fc567d54 100644
--- a/Game/Code/Classes/ULog.pas
+++ b/Game/Code/Classes/ULog.pas
@@ -163,7 +163,7 @@ end;
procedure TLog.LogError(Text: string);
begin
if Enabled AND (not FileErrorO) then begin
- FileErrorO := true;
+ //FileErrorO := true;
AssignFile(FileError, LogPath + 'Error.log');
{$I-}
Rewrite(FileError);