1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-23 15:58:51 -05:00

Navatwo wanted to debug in terminal.

git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@192 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
Wizzup? 2009-11-04 23:01:01 +00:00
parent 366764d910
commit bc9999cc07

View File

@ -102,7 +102,9 @@ procedure psWriteln(str : string);
//{$IFDEF WINDOWS} //{$IFDEF WINDOWS}
begin begin
if Assigned(CurrThread.DebugTo) then if Assigned(CurrThread.DebugTo) then
CurrThread.DebugTo(str); CurrThread.DebugTo(str)
else
writeln(str);
{if CurrThread.DebugTo <> nil then {if CurrThread.DebugTo <> nil then
begin; begin;
CurrThread.DebugTo.lines.add(str); CurrThread.DebugTo.lines.add(str);