-- 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: fad93588211d5ef76aa77b49555c0c0ab9e00fcd: path_to: revision_to:
commit fad93588211d5ef76aa77b49555c0c0ab9e00fcd Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com> Date: Fri Apr 13 11:46:37 2012 +0000 Fix style. diff --git a/src/rxvtutil.h b/src/rxvtutil.h
--- a/src/rxvtutil.h +++ b/src/rxvtutil.h @@ -16,13 +16,13 @@ #endif // various utility functions -template<typename T, typename U> static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; } -template<typename T, typename U> static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; } +template<typename T, typename U> static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; } +template<typename T, typename U> static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; } template<typename T, typename U, typename V> static inline T clamp (T v, U a, V b) { return v < (T)a ? a : v >(T)b ? b : v; } template<typename T, typename U, typename V> static inline void clamp_it (T &v, U a, V b) { v = v < (T)a ? a : v >(T)b ? b : v; } -template<typename T> static inline T squared_diff (T a, T b) { return (a-b)*(a-b); } +template<typename T> static inline T squared_diff (T a, T b) { return (a - b) * (a - b); } // linear interpolation template<typename T, typename U, typename P>
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 12:31:30 2024