-- 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: 4f7aa65ee8a1bfdd9a72861d184004ed2d6c462e:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 4f7aa65ee8a1bfdd9a72861d184004ed2d6c462e
Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
Date:   Sun Jun 10 15:48:08 2012 +0000

    Remove unused function.

diff --git a/src/background.C b/src/background.C

index d94403d4eef2c4444dffaf8215473e28618f79e9..

index ..5d634ec6b2fdfa022f7a0cd4379a8a857424116c 100644

--- a/src/background.C
+++ b/src/background.C
@@ -109,23 +109,6 @@ make_align_position (int align, int window_size, int image_size)
     return lerp (-image_size, 0, align + 100);
 }

-static inline int
-make_clip_rectangle (int pos, int size, int target_size, int &dst_pos, int &dst_size)
-{
-  int src_pos = 0;
-  dst_pos = pos;
-  dst_size = size;
-  if (pos < 0)
-    {
-      src_pos = -pos;
-      dst_pos = 0;
-      dst_size += pos;
-    }
-
-  min_it (dst_size, target_size - dst_pos);
-  return src_pos;
-}
-
 static void
 parse_style (const char *style, int &x, int &y, unsigned int &w, unsigned int &h, uint8_t &flags)
 {

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:42:11 2024