--- rxvt-unicode/src/rxvtutil.h 2012/01/23 14:29:24 1.50 +++ rxvt-unicode/src/rxvtutil.h 2012/04/13 11:46:37 1.51 @@ -16,13 +16,13 @@ #endif // various utility functions -template static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; } -template static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; } +template static inline void min_it (T &a, U b) { a = a < (T)b ? a : (T)b; } +template static inline void max_it (T &a, U b) { a = a > (T)b ? a : (T)b; } template static inline T clamp (T v, U a, V b) { return v < (T)a ? a : v >(T)b ? b : v; } template static inline void clamp_it (T &v, U a, V b) { v = v < (T)a ? a : v >(T)b ? b : v; } -template static inline T squared_diff (T a, T b) { return (a-b)*(a-b); } +template static inline T squared_diff (T a, T b) { return (a - b) * (a - b); } // linear interpolation template