aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/plot
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 02:21:12 +0000
committerrsc <devnull@localhost>2004-04-20 02:21:12 +0000
commit86fa0d22778563378cd6fb422014aa37aa762d95 (patch)
treec81f00f591045886fd7561872f8891d1ffde4741 /src/cmd/plot
parenta0f1e21ff939612898d63ae2245e47dffc1a8153 (diff)
downloadplan9port-86fa0d22778563378cd6fb422014aa37aa762d95.tar.gz
plan9port-86fa0d22778563378cd6fb422014aa37aa762d95.tar.bz2
plan9port-86fa0d22778563378cd6fb422014aa37aa762d95.zip
final tweaks for tonight.
Diffstat (limited to 'src/cmd/plot')
-rw-r--r--src/cmd/plot/libplot/subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/plot/libplot/subr.c b/src/cmd/plot/libplot/subr.c
index 886659fa..48078ed6 100644
--- a/src/cmd/plot/libplot/subr.c
+++ b/src/cmd/plot/libplot/subr.c
@@ -14,7 +14,7 @@ struct penvir *e0 = E, *e1 = &E[1], *esave;
int
bcolor(char *s){
int c;
- while (*s != NULL) {
+ while (*s != 0) {
switch (*s) {
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
@@ -50,7 +50,7 @@ print("RED");
e1->pslant = (180. - atof(s + 1)) / RADIAN;
return(-1);
}
- while (*++s != NULL)
+ while (*++s != 0)
if (*s == '/') {
s++;
break;