|
|
@@ -1552,7 +1552,6 @@ begin
|
|
|
{$endif ndef Windows}
|
|
|
InitEvents;
|
|
|
InitSysError;
|
|
|
- CurDirChanged;
|
|
|
{$ifndef Windows}
|
|
|
if (oldH<>ScreenHeight) or (oldW<>ScreenWidth) then
|
|
|
begin
|
|
|
@@ -1584,6 +1583,7 @@ begin
|
|
|
UpdateScreen(true);
|
|
|
{$endif go32v2}
|
|
|
{$endif Windows}
|
|
|
+ CurDirChanged; {To avoid memory corruption, palce this call after screen resize has been done.}
|
|
|
displaymode:=dmIDE;
|
|
|
end;
|
|
|
|