diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-14 17:36:21 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-14 17:36:21 +0000 |
commit | 187938fe58815e21fa4fd635fb9a7fb50f578d38 (patch) | |
tree | 9a5da3e98f156740690f8d5189ddf0df6f1ca35d /tools/iceit/Unit1.pas | |
parent | e67e0be8696f9f2e9a137b81b1c90a78199bfecc (diff) |
- iceit: no need to create Miranda64 folder (patch from Jerbifor)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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';
|