diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 2 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 6f03b5ea9..cfaf6028f 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -232,7 +232,7 @@ mozilla_embed_single_new_window_orphan_cb (GtkMozEmbedSingle *embed, guint chrome_mask, EphyEmbedSingle *shell) { - g_assert (chrome_mask && GTK_MOZ_EMBED_FLAG_OPENASCHROME); + g_assert (chrome_mask & GTK_MOZ_EMBED_FLAG_OPENASCHROME); *retval = _mozilla_embed_new_xul_dialog (); } diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp index 0b8e3fea7..d9cdd2b40 100644 --- a/embed/mozilla/mozilla-embed.cpp +++ b/embed/mozilla/mozilla-embed.cpp @@ -1018,7 +1018,7 @@ mozilla_embed_new_window_cb (GtkMozEmbed *embed, { 0, EMBED_CHROME_NONE } }; - if (chromemask && GTK_MOZ_EMBED_FLAG_OPENASCHROME) + if (chromemask & GTK_MOZ_EMBED_FLAG_OPENASCHROME) { *newEmbed = _mozilla_embed_new_xul_dialog (); return; |