aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/FilePicker.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2004-04-30 06:42:52 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-04-30 06:42:52 +0800
commit37b6cdee54a229d78f9c955ddd8e5c395ef32155 (patch)
treeb4bc6702f66012bef698552070c6a3569879ff95 /embed/mozilla/FilePicker.cpp
parent43dbdc1eb7b96e4672d0d3bd68f01fd65f1690b7 (diff)
downloadgsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar.gz
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar.bz2
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar.lz
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar.xz
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.tar.zst
gsoc2013-epiphany-37b6cdee54a229d78f9c955ddd8e5c395ef32155.zip
fix build bustage
Diffstat (limited to 'embed/mozilla/FilePicker.cpp')
-rw-r--r--embed/mozilla/FilePicker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 188cae460..540d58cae 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -314,7 +314,11 @@ NS_IMETHODIMP GFilePicker::SetDefaultString(const nsAString& aDefaultString)
NS_ConvertUCS2toUTF8 (aDefaultString).get())
#endif
+#if MOZILLA_SNAPSHOT < 16
+ if (aDefaultString)
+#else
if (aDefaultString.Length())
+#endif
{
/* set_current_name takes UTF-8, not a filename */
#if MOZILLA_SNAPSHOT < 16