-- 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: 1847e3324628438ebe0cffc3268f4eaa49c903f2: path_to: revision_to:
commit 1847e3324628438ebe0cffc3268f4eaa49c903f2 Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Sun Aug 29 15:12:41 2010 +0000 Simplify 'bgPixmap_t::set_file'. diff --git a/src/background.C b/src/background.C
--- a/src/background.C +++ b/src/background.C @@ -676,21 +676,19 @@ bgPixmap_t::set_file (const char *file) if (*file) { -# ifdef HAVE_AFTERIMAGE - if (!target->asimman) - target->asimman = create_generic_imageman (target->rs[Rs_path]); - if (const char *p = strchr (file, ';')) { size_t len = p - file; char *f = rxvt_temp_buf<char> (len + 1); memcpy (f, file, len); f[len] = '\0'; - original_asim = get_asimage (target->asimman, f, 0xFFFFFFFF, 100); + file = f; } - else - original_asim = get_asimage (target->asimman, file, 0xFFFFFFFF, 100); +# ifdef HAVE_AFTERIMAGE + if (!target->asimman) + target->asimman = create_generic_imageman (target->rs[Rs_path]); + original_asim = get_asimage (target->asimman, file, 0xFFFFFFFF, 100); return original_asim; # endif }
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 12:14:30 2024