diff --git a/mozilla/gfx/src/gtk/nsImageGTK.cpp b/mozilla/gfx/src/gtk/nsImageGTK.cpp index 9e545691672..3bf91acab3b 100644 --- a/mozilla/gfx/src/gtk/nsImageGTK.cpp +++ b/mozilla/gfx/src/gtk/nsImageGTK.cpp @@ -1514,10 +1514,10 @@ void nsImageGTK::CreateOffscreenPixmap(PRInt32 aWidth, PRInt32 aHeight) bitmask data are arranged left to right on the screen, low to high address in memory. */ mAlphaXImage->byte_order = MSBFirst; - } - if (!s1bitGC) - s1bitGC = gdk_gc_new(mAlphaPixmap); + if (!s1bitGC) + s1bitGC = gdk_gc_new(mAlphaPixmap); + } if (!sXbitGC) sXbitGC = gdk_gc_new(mImagePixmap);