diff --git a/tim2view.lpi b/tim2view.lpi
index 4e1bcd8..1b0d801 100644
--- a/tim2view.lpi
+++ b/tim2view.lpi
@@ -27,7 +27,7 @@
-
+
@@ -247,7 +247,6 @@
-
@@ -264,7 +263,6 @@
-
@@ -289,7 +287,6 @@
-
@@ -327,6 +324,7 @@
+
diff --git a/tim2view.lpr b/tim2view.lpr
index f112849..9363cb8 100644
--- a/tim2view.lpr
+++ b/tim2view.lpr
@@ -6,15 +6,11 @@ uses
{$IFDEF UNIX}
cthreads, cmem,
{$ENDIF}
- Forms, umain, Interfaces,
- Windows;
+ Forms, umain, Interfaces;
{$R *.res}
begin
- AllocConsole; // in Windows unit
- IsConsole := True; // in System unit
- SysInitStdIO; // in System unit
RequireDerivedFormResource := True;
Application.Initialize;
Application.CreateForm(TfrmMain, frmMain);
diff --git a/umain.lfm b/umain.lfm
index 03beb6f..f6060b9 100644
--- a/umain.lfm
+++ b/umain.lfm
@@ -494,7 +494,7 @@ object frmMain: TfrmMain
OnCreate = FormCreate
OnDropFiles = FormDropFiles
Position = poScreenCenter
- LCLVersion = '1.4.0.2'
+ LCLVersion = '1.4.2.0'
object pnlStatus: TPanel
Left = 0
Height = 30
@@ -1148,7 +1148,7 @@ object frmMain: TfrmMain
end
end
object dlgSelectDir: TSelectDirectoryDialog
- Options = [ofNoChangeDir, ofNoNetworkButton, ofEnableSizing, ofViewDetail]
+ Options = [ofNoChangeDir, ofNoNetworkButton, ofOldStyleDialog, ofEnableSizing, ofViewDetail]
left = 512
top = 112
end
diff --git a/umain.pas b/umain.pas
index 688caaa..585efba 100644
--- a/umain.pas
+++ b/umain.pas
@@ -660,7 +660,7 @@ begin
FreeTIM(TIM);
Exit;
end;
- //Writeln('X=',aCol, '; Y=',aRow);
+
DrawClutCell(TIM, cbbCLUT.ItemIndex, @grdClut, ACol, ARow);
FreeTIM(TIM);
@@ -796,6 +796,8 @@ begin
ScanThreads.Last.Priority := tpNormal;
ScanThreads.Last.OnTerminate := @ScanFinished;
+ ScanThreads.Pack;
+
if StartedScans < GetLogicalCpuCount then
begin
BeforeScan(ScanThreads.Last.FileLength);