1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/graphics/xaos/files/patch-ae
Joseph Koshy 4a24b84334 Upgrade to ver 3.0 of XaoS.
Reminded-by: Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
1998-07-06 07:23:46 +00:00

11 lines
483 B
Plaintext

--- src/include/ui_helper.h-- Thu Mar 5 03:19:12 1998
+++ src/include/ui_helper.h Fri Jul 3 16:05:50 1998
@@ -217,6 +217,7 @@
#define uih_needrecalculate(context) ((context)->recalculatemode)
#define uih_needdisplay(context) ((context)->display)
+#undef MAX
#define MAX(a,b) ((a)>(b)?(a):(b))
#define uih_newimage(c) (((c)->recalculatemode=MAX((c)->recalculatemode,UIH_NEW_IMAGE)))
#define uih_animate_image(c) ((c)->recalculatemode=MAX((c)->recalculatemode,UIH_ANIMATION))