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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.278 by sf-exg, Sun Aug 29 15:04:40 2010 UTC vs.
Revision 1.279 by sf-exg, Sun Aug 29 15:05:08 2010 UTC

1295 } 1295 }
1296 1296
1297 int w = im->width; 1297 int w = im->width;
1298 int h = im->height; 1298 int h = im->height;
1299 1299
1300 if (!IN_RANGE_INC (w, 1, 32767) || !IN_RANGE_INC (h, 1, 32767))
1301 {
1302 rxvt_warn ("Icon image too big, continuing without.\n");
1303 destroy_asimage (&im);
1304 return;
1305 }
1306
1300 ASImage *result = scale_asimage (asv, im, 1307 ASImage *result = scale_asimage (asv, im,
1301 w, h, ASA_ARGB32, 1308 w, h, ASA_ARGB32,
1302 100, ASIMAGE_QUALITY_DEFAULT); 1309 100, ASIMAGE_QUALITY_DEFAULT);
1303 destroy_asimage (&im); 1310 destroy_asimage (&im);
1304 1311

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines