summaryrefslogtreecommitdiff
path: root/gtk/gtk_gui.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2007-06-15 22:07:11 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2007-06-15 22:07:11 +0000
commit43257a160bbdef8a8381fc7cc01741568ae1e320 (patch)
tree6f34e444c24604101fe6868e9a19d4ee97c97444 /gtk/gtk_gui.c
parented61b382bc12f15df4bb5306efb7980e7dc293aa (diff)
downloadnetsurf-43257a160bbdef8a8381fc7cc01741568ae1e320.tar.gz
netsurf-43257a160bbdef8a8381fc7cc01741568ae1e320.tar.bz2
Changes to allow building on Solaris.
* Tested on Solaris Express: Developer Edition, which is between Solaris 10 and 11. * Used gcc, libmng etc packages using pkg-get and blastwave's resources. * Had to build lemon and re2c manually. svn path=/trunk/netsurf/; revision=3350
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r--gtk/gtk_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c
index 13fd3c570..47a3cfd04 100644
--- a/gtk/gtk_gui.c
+++ b/gtk/gtk_gui.c
@@ -393,7 +393,7 @@ void warn_user(const char *warning, const char *detail)
{
char buf[300]; /* 300 is the size the RISC OS GUI uses */
- LOG(("%s %s", warning, detail));
+ LOG(("%s %s", warning, detail ? detail : ""));
fflush(stdout);
snprintf(buf, sizeof(buf), "%s %s", messages_get(warning),