aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-28 02:50:45 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-28 02:50:45 +0800
commit22e053c43179e739314ac9771932e1394ad91387 (patch)
treefb267e0296a4fcc7c3d9f71bcd1dfb44bf2342d5 /embed
parentd8c89be1293cf71ee242f812b3c4552c3f5e8c66 (diff)
downloadgsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar.gz
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar.bz2
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar.lz
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar.xz
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.tar.zst
gsoc2013-epiphany-22e053c43179e739314ac9771932e1394ad91387.zip
Fix compress_tilde to only look at the prefix, and not substitute in the
2005-02-27 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress): Fix compress_tilde to only look at the prefix, and not substitute in the middle.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/MozDownload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 248286ff1..419123c76 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -380,7 +380,7 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
nsEmbedCString cDesc;
NS_UTF16ToCString (description, NS_CSTRING_ENCODING_UTF8, cDesc);
#else
- char *mime;
+ char *mime = nsnull;
rv = mMIMEInfo->GetMIMEType (&mime);
NS_ENSURE_SUCCESS (rv, NS_ERROR_FAILURE);