-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: dc517c5a365cfdfc4489122f4f835b448e80a5b6: path_to: revision_to:
commit dc517c5a365cfdfc4489122f4f835b448e80a5b6 Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Thu Jun 7 13:02:50 2012 +0000 Make rxvt_img::scale return a cloned image if no scaling is needed. diff --git a/src/rxvtimg.C b/src/rxvtimg.C
--- a/src/rxvtimg.C +++ b/src/rxvtimg.C @@ -479,6 +479,9 @@ rxvt_img::transform (int new_width, int new_height, double matrix[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,
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 13:25:30 2024