From d39a93ab01cc0c2ca0b0d692817fc76489e491a3 Mon Sep 17 00:00:00 2001 From: edgbla Date: Tue, 9 Aug 2016 14:52:21 +0400 Subject: [PATCH] =?UTF-8?q?*=20=D0=9F=D1=80=D0=B0=D0=B2=D0=B0=20=D1=81?= =?UTF-8?q?=D0=BE=D0=B7=D0=B4=D0=B0=D0=B2=D0=B0=D0=B5=D0=BC=D1=8B=D1=85=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=20=D0=B8=D0=B7=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D1=8B=20=D1=81=20777=20=D0=BD=D0=B0=20664;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- umain.pas | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/umain.pas b/umain.pas index ccc20dc..2f6e5b0 100644 --- a/umain.pas +++ b/umain.pas @@ -278,7 +278,7 @@ begin FreeTIM(TIM); Image^.Free; Dispose(Image); - {$IFDEF Linux}FpChmod(dlgSavePNG.FileName, &777);{$IFEND} + {$IFDEF Linux}FpChmod(dlgSavePNG.FileName, &664);{$IFEND} end; procedure TfrmMain.btnShowClutClick(Sender: TObject); @@ -442,7 +442,7 @@ begin Path := Path + FormatPngName(FName, I - 1, BIT_MODE, 0); SaveImage(Path, Image, TIMisIndexed(TIM)); - {$IFDEF Linux}FpChmod(Path, &777);{$IFEND} + {$IFDEF Linux}FpChmod(Path, &664);{$IFEND} Image^.Free; Image^ := nil; @@ -493,7 +493,7 @@ begin Path := Path + FormatPngName(FName, I - 1, BIT_MODE, 0); SaveImage(Path, Image, TIMisIndexed(TIM)); - {$IFDEF Linux}FpChmod(Path, &777);{$IFEND} + {$IFDEF Linux}FpChmod(Path, &664);{$IFEND} Image^.Free; Image^ := nil; @@ -518,7 +518,7 @@ begin TIM := SelectedTimInMode; SaveTimToFile(dlgSaveFile.FileName, TIM); - {$IFDEF Linux}FpChmod(dlgSaveFile.FileName, &777);{$IFEND} + {$IFDEF Linux}FpChmod(dlgSaveFile.FileName, &664);{$IFEND} FreeTIM(TIM); end; @@ -557,7 +557,7 @@ begin TIM := LoadTimFromFile(FName, OFFSET, IsImage, SIZE); Path := Path + FormatFileName(FName, I - 1, BIT_MODE, MAGIC); SaveTimToFile(Path, TIM); - {$IFDEF Linux}FpChmod(Path, &777);{$IFEND} + {$IFDEF Linux}FpChmod(Path, &664);{$IFEND} FreeTIM(TIM); pbProgress.Position := I; @@ -599,7 +599,7 @@ begin TIM := LoadTimFromFile(FName, OFFSET, IsImage, SIZE); Path := Path + FormatFileName(FName, I - 1, BIT_MODE, MAGIC); SaveTimToFile(Path, TIM); - {$IFDEF Linux}FpChmod(Path, &777);{$IFEND} + {$IFDEF Linux}FpChmod(Path, &664);{$IFEND} FreeTIM(TIM); pbProgress.Position := I;