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.22 by sasha, Fri Jan 4 21:25:57 2008 UTC vs.
Revision 1.23 by ayin, Sat Jan 5 13:52:23 2008 UTC

257 int x = 0, y = 0; 257 int x = 0, y = 0;
258 unsigned int w = 0, h = 0; 258 unsigned int w = 0, h = 0;
259 unsigned int n; 259 unsigned int n;
260 unsigned long new_flags = (flags & (~geometryFlags)); 260 unsigned long new_flags = (flags & (~geometryFlags));
261 char *p; 261 char *p;
262# define MAXLEN_GEOM 256 /* could be longer then regular geometry string */ 262# define MAXLEN_GEOM 256 /* could be longer than regular geometry string */
263 263
264 if (geom == NULL) 264 if (geom == NULL)
265 return false; 265 return false;
266 266
267 char str[MAXLEN_GEOM]; 267 char str[MAXLEN_GEOM];
512 100, ASIMAGE_QUALITY_DEFAULT); 512 100, ASIMAGE_QUALITY_DEFAULT);
513 } 513 }
514 if (background == NULL) 514 if (background == NULL)
515 { 515 {
516 /* if tiling - pixmap has to be sized exactly as the image, 516 /* if tiling - pixmap has to be sized exactly as the image,
517 but there is no need to make it bigger then the window! */ 517 but there is no need to make it bigger than the window! */
518 if (h_scale == 0) 518 if (h_scale == 0)
519 new_pmap_width = min (result->width, target_width); 519 new_pmap_width = min (result->width, target_width);
520 if (v_scale == 0) 520 if (v_scale == 0)
521 new_pmap_height = min (result->height, target_height); 521 new_pmap_height = min (result->height, target_height);
522 /* we also need to tile our image in one or both directions */ 522 /* we also need to tile our image in one or both directions */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines