diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-12-01 22:37:25 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-12-01 22:37:25 +0100 |
| commit | 0b6ab870592194e67dff5cba013d9d32acdf2d48 (patch) | |
| tree | 654f869a9c69228c16eb8f79292bb3bb97b648b8 /libgtk_kylix/GTKForms.pas | |
| parent | 529fbd9a94fc1c87fe5198066c2ecf34004af356 (diff) | |
| download | tuxcmd-0b6ab870592194e67dff5cba013d9d32acdf2d48.tar.xz | |
A better way to escape format string
Diffstat (limited to 'libgtk_kylix/GTKForms.pas')
| -rw-r--r-- | libgtk_kylix/GTKForms.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgtk_kylix/GTKForms.pas b/libgtk_kylix/GTKForms.pas index ad623b3..e35357f 100644 --- a/libgtk_kylix/GTKForms.pas +++ b/libgtk_kylix/GTKForms.pas @@ -747,7 +747,7 @@ begin Exit; end; Dialog := gtk_message_dialog_new(ParentWindow, GTK_DIALOG_MODAL or GTK_DIALOG_DESTROY_WITH_PARENT, TMessageStyleID[Integer(Style)], - GTK_BUTTONS_NONE, StringToPgchar(EscapeFormatStr(Text))); + GTK_BUTTONS_NONE, '%s', StringToPgchar(Text)); for i := 1 to NumMessageButtons do if TMessageButton(i - 1) in Buttons then gtk_dialog_add_button(PGtkDialog(Dialog), MessageButtonID[i], i); |
