components/desktop/firefox/patches/firefox31-408-urlbar-sparc.patch
changeset 5527 611b2d6efdfe
parent 5526 570ac9aab8b2
child 5528 f2f5af510081
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
     1 For the font in the URL bar. Can try to send upstream. 
       
     2 
       
     3 --- mozilla-esr31/gfx/cairo/cairo/src/cairo-xlib-surface.c.orig	2015-06-04 17:42:52.933166699 -0700
       
     4 +++ mozilla-esr31/gfx/cairo/cairo/src/cairo-xlib-surface.c	2015-06-04 17:42:52.936030831 -0700
       
     5 @@ -1310,7 +1310,11 @@
       
     6  		int a, r, g, b;
       
     7  
       
     8  		if (image_masks.bpp == 1)
       
     9 +#ifdef WORDS_BIGENDIAN
       
    10 +		    in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (7 - (x & 7))));
       
    11 +#else
       
    12  		    in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (x & 7)));
       
    13 +#endif
       
    14  		else if (image_masks.bpp <= 8)
       
    15  		    in_pixel = ((uint8_t*)row)[x];
       
    16  		else if (image_masks.bpp <= 16)