diff options
Diffstat (limited to 'helpers.c')
-rw-r--r-- | helpers.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -35,4 +35,12 @@ static void DrawBlendedBackground(cPixmap *pixmap, tColor color, tColor colorBle if (i == end) cont = false; } +} + +static int Minimum(int a, int b, int c, int d) { + int min = a; + if (b < min) min = b; + if (c < min) min = c; + if (d < min) min = d; + return min; }
\ No newline at end of file |