diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-16 23:04:33 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-16 23:04:33 +0100 |
| commit | ab2f4dbc8daa65f95dbb2c75ad11f20435f8c140 (patch) | |
| tree | 5775e86cf6663d4978f05fc1339809e9fda850ec /libgtk_kylix/GTKForms.pas | |
| parent | f1521a509a4ecec67480ac04c7732300a6baab13 (diff) | |
| download | tuxcmd-ab2f4dbc8daa65f95dbb2c75ad11f20435f8c140.tar.xz | |
Avoid double-formatting strings containing percent sign
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 d6c650b..f1f5440 100644 --- a/libgtk_kylix/GTKForms.pas +++ b/libgtk_kylix/GTKForms.pas @@ -737,7 +737,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(Text)); + GTK_BUTTONS_NONE, StringToPgchar(EscapeFormatStr(Text))); for i := 1 to NumMessageButtons do if TMessageButton(i - 1) in Buttons then gtk_dialog_add_button(PGtkDialog(Dialog), MessageButtonID[i], i); |
