--- rxvt-unicode/src/rxvtimg.C 2012/06/07 11:52:26 1.42 +++ rxvt-unicode/src/rxvtimg.C 2012/06/07 13:02:50 1.43 @@ -479,6 +479,9 @@ rxvt_img * rxvt_img::scale (int new_width, int new_height) { + if (w == new_width && h == new_height) + return clone (); + double matrix[9] = { w / (double)new_width, 0, 0, 0, h / (double)new_height, 0,