ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.57 by sf-exg, Fri Sep 3 22:43:22 2010 UTC vs.
Revision 1.58 by sf-exg, Fri Sep 3 22:57:31 2010 UTC

784 GC gc; 784 GC gc;
785 785
786 image_width = gdk_pixbuf_get_width (result); 786 image_width = gdk_pixbuf_get_width (result);
787 image_height = gdk_pixbuf_get_height (result); 787 image_height = gdk_pixbuf_get_height (result);
788 788
789 if (h_scale == 0) 789 if (h_scale == 0 || v_scale == 0)
790 {
790 new_pmap_width = min (image_width, target_width); 791 new_pmap_width = min (image_width, target_width);
791 if (v_scale == 0)
792 new_pmap_height = min (image_height, target_height); 792 new_pmap_height = min (image_height, target_height);
793 }
793 794
794 if (pixmap) 795 if (pixmap)
795 { 796 {
796 if (pmap_width != new_pmap_width 797 if (pmap_width != new_pmap_width
797 || pmap_height != new_pmap_height 798 || pmap_height != new_pmap_height

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines