diff options
author | Jacek Antonelli | 2008-11-30 13:33:02 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-11-30 13:37:09 -0600 |
commit | a97da2c607517551faef928353813b8456bfcc53 (patch) | |
tree | b7893d5113e0aee695c3f53363db2a10cddde0b4 /linden/indra/linux_crash_logger | |
parent | Remove preprocessor condition for grid selector. (diff) | |
download | meta-impy-a97da2c607517551faef928353813b8456bfcc53.zip meta-impy-a97da2c607517551faef928353813b8456bfcc53.tar.gz meta-impy-a97da2c607517551faef928353813b8456bfcc53.tar.bz2 meta-impy-a97da2c607517551faef928353813b8456bfcc53.tar.xz |
Fixed passing nonliteral strings to *printf functions.
gcc 4.3 rejects that as being unsafe.
Patch by Stephen Zenith. [#11]
Diffstat (limited to 'linden/indra/linux_crash_logger')
-rw-r--r-- | linden/indra/linux_crash_logger/llcrashloggerlinux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp b/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp index 6ac9831..c4294d6 100644 --- a/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp +++ b/linden/indra/linux_crash_logger/llcrashloggerlinux.cpp | |||
@@ -90,7 +90,7 @@ static BOOL do_ask_dialog(void) | |||
90 | 90 | ||
91 | win = gtk_message_dialog_new(NULL, | 91 | win = gtk_message_dialog_new(NULL, |
92 | flags, messagetype, buttons, | 92 | flags, messagetype, buttons, |
93 | dialog_text); | 93 | "%s", dialog_text); |
94 | gtk_window_set_type_hint(GTK_WINDOW(win), | 94 | gtk_window_set_type_hint(GTK_WINDOW(win), |
95 | GDK_WINDOW_TYPE_HINT_DIALOG); | 95 | GDK_WINDOW_TYPE_HINT_DIALOG); |
96 | gtk_window_set_title(GTK_WINDOW(win), dialog_title); | 96 | gtk_window_set_title(GTK_WINDOW(win), dialog_title); |