# | Line 987 | Line 987 | int n; | |
---|---|---|
987 | } | |
988 | while (n > viewnum) { /* scan to desired view */ | |
989 | if (fgets(linebuf, sizeof(linebuf), viewfp) == NULL) | |
990 | < | return(viewnum==1 ? &curview : NULL); |
990 | > | return(viewnum==1 ? &curview : (VIEW *)NULL); |
991 | if (isview(linebuf) && sscanview(&curview, linebuf) > 0) | |
992 | viewnum++; | |
993 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |