… | |
… | |
1292 | { |
1292 | { |
1293 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1293 | rxvt_warn ("Loading image icon failed, continuing without.\n"); |
1294 | return; |
1294 | return; |
1295 | } |
1295 | } |
1296 | |
1296 | |
1297 | int w = im->width; |
1297 | unsigned int w = im->width; |
1298 | int h = im->height; |
1298 | unsigned int h = im->height; |
1299 | |
1299 | |
1300 | if (!IN_RANGE_INC (w, 1, 16383) || !IN_RANGE_INC (h, 1, 16383)) |
1300 | if (!IN_RANGE_INC (w, 1, 16383) || !IN_RANGE_INC (h, 1, 16383)) |
1301 | { |
1301 | { |
1302 | rxvt_warn ("Icon image too big, continuing without.\n"); |
1302 | rxvt_warn ("Icon image too big, continuing without.\n"); |
1303 | destroy_asimage (&im); |
1303 | destroy_asimage (&im); |