diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-17 11:06:15 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-17 11:06:15 +0100 |
| commit | cb5cb517c068a470662bd1d08bef61265376c802 (patch) | |
| tree | c59c2de9dce9b7b3b064e14f918fa4d53a691c9a /UMain.pas | |
| parent | 86431176b9e030b8296718feb2f5d837c4f83b63 (diff) | |
| download | tuxcmd-cb5cb517c068a470662bd1d08bef61265376c802.tar.xz | |
Remove unneeded casts
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6099,7 +6099,7 @@ begin if ConfWarnUnsavedConnection then begin DontShowAgain := False; - res := MessageBoxShowOnce(PGtkWindow(FWidget), PChar(Format(LANGTheActiveConnectionHasNotBeenSaved, [Engine.GetPathURI])), LANGDontShowAgain, DontShowAgain, Buttons, mbWarning, mbNo, CancelButton); + res := MessageBoxShowOnce(PGtkWindow(FWidget), Format(LANGTheActiveConnectionHasNotBeenSaved, [Engine.GetPathURI]), LANGDontShowAgain, DontShowAgain, Buttons, mbWarning, mbNo, CancelButton); if DontShowAgain then begin ConfWarnUnsavedConnection := False; WriteMainGUISettings; @@ -6569,7 +6569,7 @@ begin if tmp = nil then begin err := errno; DebugMsg(['(EE) ExtractFromArchive: Couldn''t create temporary directory: ', strerror(err)]); - Application.MessageBox(PChar(Format(LANGHandleRunFromArchive_CouldntCreateTemporaryDirectory, [s, string(strerror(err))])), [mbOK], mbError, mbOK, mbOK); + Application.MessageBox(Format(LANGHandleRunFromArchive_CouldntCreateTemporaryDirectory, [s, string(strerror(err))]), [mbOK], mbError, mbOK, mbOK); Result := False; Exit; end; |
