From f6bdfce7e16b98825598dc990efef0846efdb079 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 12 Nov 2003 18:45:12 +0000 Subject: Silly typos, thanks crispin. 2003-11-12 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Silly typos, thanks crispin. --- embed/mozilla/mozilla-embed-single.cpp | 2 +- embed/mozilla/mozilla-embed.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'embed') 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; -- cgit v1.2.3