| # | Line 15 | Line 15 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 15 | #include "copyright.h" | |
| 16 | ||
| 17 | #include "platform.h" | |
| 18 | + | #include "rtprocess.h" |
| 19 | #include "color.h" | |
| 20 | #include "resolu.h" | |
| 21 | ||
| # | Line 381 | Line 382 | register COLR c1, c2; | |
| 382 | ||
| 383 | j = 4; /* check exponents first! */ | |
| 384 | while (j--) | |
| 385 | < | if (i = c1[j] - c2[j]) |
| 385 | > | if ( (i = c1[j] - c2[j]) ) |
| 386 | return(i); | |
| 387 | return(0); | |
| 388 | } | |
| # | Line 392 | Line 393 | lblopen(s, xp, yp) /* open pipe to label generator */ | |
| 393 | char *s; | |
| 394 | int *xp, *yp; | |
| 395 | { | |
| 396 | < | char com[128]; |
| 396 | > | char com[PATH_MAX]; |
| 397 | FILE *fp; | |
| 398 | ||
| 399 | sprintf(com, "psign -s -.15 -a 2 -x %d -y %d '%.90s'", *xp, *yp, s); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |