Line 0
Link Here
|
|
|
1 |
--- plow/PlowRules2.c.orig 2007-04-21 02:57:00.000000000 +0900 |
2 |
+++ plow/PlowRules2.c 2012-09-13 00:39:42.000000000 +0900 |
3 |
@@ -250,7 +250,7 @@ |
4 |
tp = TiSrPointNoHint(plowYankDef->cd_planes[edge->e_pNum], &p); |
5 |
pr = plowSpacingRulesTbl[edge->e_ltype][TiGetTypeExact(tp)]; |
6 |
if (pr == (PlowRule *) NULL) |
7 |
- return; |
8 |
+ return (0); |
9 |
|
10 |
searchRect.r_xbot = edge->e_x - 1; |
11 |
searchRect.r_ytop = edge->e_ybot; |
12 |
@@ -514,7 +514,7 @@ |
13 |
startPoint.p_y = edge->e_ybot - 1; |
14 |
tp = TiSrPointNoHint(plowYankDef->cd_planes[edge->e_pNum], &startPoint); |
15 |
if (TiGetTypeExact(tp) == TT_SPACE) |
16 |
- return; |
17 |
+ return (0); |
18 |
|
19 |
ltype = edge->e_ltype; |
20 |
rtype = TiGetTypeExact(tp); |
21 |
@@ -604,7 +604,7 @@ |
22 |
GMASK_EAST|GMASK_WEST|GMASK_NORTH|GMASK_SOUTH, |
23 |
plowIllegalBotProc, (ClientData) &ar); |
24 |
if (ar.ar_slivtype == (TileType) -1) |
25 |
- return; |
26 |
+ return (0); |
27 |
|
28 |
startPoint.p_x = ar.ar_mustmove; |
29 |
TTMaskSetOnlyType(&insideTypes, ar.ar_slivtype); |