diff options
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index 0e69d58fb..ad78db187 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -1084,7 +1084,7 @@ impl_print (EphyEmbed *embed, nsCOMPtr<nsIPrintSettings> options; result = wrapper->GetPrintSettings(getter_AddRefs(options)); - g_assert (NS_SUCCEEDED (result)); + if (!NS_SUCCEEDED (result)) return G_FAILED; MozillaCollatePrintSettings(info, options); |