Nr 1/5 (x = ...) == 0 , swallow warnings
This commit is contained in:
parent
abb87a6115
commit
acb1c33d66
|
|
@ -1,3 +1,7 @@
|
|||
2010-11-19 Robert Larice
|
||||
* src/frontend/plotting/clip.c :
|
||||
Nr 1/5 (x = ...) == 0 , swallow warnings
|
||||
|
||||
2010-11-16 Robert Larice
|
||||
* src/**/* :
|
||||
rename `IGNORE()' --> `NG_IGNORE()'
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ clip_line(int *pX1, int *pY1, int *pX2, int *pY2, int l, int b, int r, int t)
|
|||
while (c1 || c2) {
|
||||
if (c1 & c2)
|
||||
return (TRUE); /* Line is invisible. */
|
||||
if (!(c = c1))
|
||||
if ((c = c1) == 0)
|
||||
c = c2;
|
||||
if (c & CODEMINX) {
|
||||
y = y1+(y2-y1)*(l-x1)/(x2-x1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue