summaryrefslogtreecommitdiff
path: root/UGnome.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-12-01 22:37:25 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-12-01 22:37:25 +0100
commit0b6ab870592194e67dff5cba013d9d32acdf2d48 (patch)
tree654f869a9c69228c16eb8f79292bb3bb97b648b8 /UGnome.pas
parent529fbd9a94fc1c87fe5198066c2ecf34004af356 (diff)
downloadtuxcmd-0b6ab870592194e67dff5cba013d9d32acdf2d48.tar.xz
A better way to escape format string
Diffstat (limited to 'UGnome.pas')
-rw-r--r--UGnome.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/UGnome.pas b/UGnome.pas
index c0f93b1..adc2fc1 100644
--- a/UGnome.pas
+++ b/UGnome.pas
@@ -1210,7 +1210,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));
CheckBox := PGtkCheckButton(gtk_check_button_new_with_mnemonic(StringToPgchar(DontShowAgainText)));
gtk_widget_show(PGtkWidget(CheckBox));
gtk_box_pack_end(GTK_BOX(GTK_DIALOG(Dialog).vbox), PGtkWidget(CheckBox), False, False, 12);