diff options
Diffstat (limited to 'tools/iceit/Unit1.pas')
-rw-r--r-- | tools/iceit/Unit1.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/iceit/Unit1.pas b/tools/iceit/Unit1.pas index e7e0e9ca77..74c83beae8 100644 --- a/tools/iceit/Unit1.pas +++ b/tools/iceit/Unit1.pas @@ -428,6 +428,10 @@ begin if (S = 'miranda32') or (S = 'miranda64') then
begin
xFilePath := MirandaPath + '\' + S + '.exe';
+ //in order not to duplicate existing packages of icons (miranda32) for miranda 64
+ // will not work if there are two files (miranda32.exe and miranda64.exe)
+ if not FileExists(mirandapath+'\miranda32.exe') then
+ xFilePath := MirandaPath + '\Miranda64.exe';
xIcoPath := IcePath + F + '\' + S + '\' + S;
end else begin
xFilePath := MirandaPath + F + '\' + S + '.dll';
|