bugfixes, refactoring
[swftools.git] / lib / gfxpoly / wind.h
index e1926ed..a07ed64 100644 (file)
@@ -7,7 +7,7 @@
    the the (original) segment's y2 is larger than its y1 */
 typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t;
 
    the the (original) segment's y2 is larger than its y1 */
 typedef enum {DIR_UP, DIR_DOWN, DIR_UNKNOWN} segment_dir_t;
 
-#define DIR_INVERT(d) ((d)^=(DIR_UP^DIR_DOWN))
+#define DIR_INVERT(d) ((d)^(DIR_UP^DIR_DOWN))
 
 typedef struct _edgestyle {
     void*internal;
 
 typedef struct _edgestyle {
     void*internal;