font: check sr and sc when copying bitmap
[fbpad.git] / util.h
bloba7c182b5214de2b5ef938cc3d3a777ff37c39556
1 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
2 #define MIN(a, b) ((a) < (b) ? (a) : (b))
3 #define MAX(a, b) ((a) > (b) ? (a) : (b))
5 void xerror(char *msg);