src/video/fbcon/SDL_fbvideo.c
changeset 3615 4a4371a7cd4f
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
equal deleted inserted replaced
3614:701f54683b24 3615:4a4371a7cd4f
   312     int i;
   312     int i;
   313 
   313 
   314     blank = 0;
   314     blank = 0;
   315     /* find a relevant line */
   315     /* find a relevant line */
   316     do {
   316     do {
   317         if (fgets(line, length, f) <= 0)
   317         if (!fgets(line, length, f))
   318             return 0;
   318             return 0;
   319         c = line;
   319         c = line;
   320         while (((*c == '\t') || (*c == ' ')) && (*c != 0))
   320         while (((*c == '\t') || (*c == ' ')) && (*c != 0))
   321             c++;
   321             c++;
   322 
   322