vp-build/srcpkgs/xfig/patches/xfig-fix_dash_list_for_diff...

35 lines
1.4 KiB
Diff

--- xfig.3.2.5c/w_drawprim.c 2012-10-17 00:14:09.000000000 +0200
+++ xfig.3.2.5c/w_drawprim.c 2013-11-29 02:45:36.950448714 +0100
@@ -1292,14 +1292,23 @@ void set_fill_gc(int fill_style, int op,
}
-static unsigned char dash_list[16][2] = {{255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255},
- {255, 255}, {255, 255}};
+static unsigned char dash_list[16][8] = {
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255},
+ {255, 255, 255, 255, 255, 255, 255, 255}};
static int join_styles[3] = { JoinMiter, JoinRound, JoinBevel };
static int cap_styles[3] = { CapButt, CapRound, CapProjecting };