Index: sonar.c =================================================================== RCS file: /afs/dev.mit.edu/source/repository/third/xscreensaver/hacks/sonar.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 sonar.c --- sonar.c 2001/02/26 19:28:26 1.1.1.3 +++ sonar.c 2001/07/01 19:10:51 @@ -1747,7 +1747,10 @@ char d; for (next = token; - *next != ',' && *next != ' ' && *next != '\t' && *next != '\n'; + *next && *next != ',' && + *next != ' ' && + *next != '\t' && + *next != '\n'; next++) ; *next = 0;