Changeset 3474 for libcaca


Ignore:
Timestamp:
May 19, 2009, 3:03:57 AM (11 years ago)
Author:
Sam Hocevar
Message:

cacaplay: rename "eof" to "has_eof" to prevent shadowing a mingw32 variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaplay.c

    r2821 r3474  
    6868        caca_event_t ev;
    6969        int ret = caca_get_event(dp, CACA_EVENT_ANY, &ev, 0);
    70         int eof = 0;
     70        int has_eof = 0;
    7171
    7272        if(ret && caca_get_event_type(&ev) & CACA_EVENT_KEY_PRESS)
     
    8585            else if(n == 0)
    8686            {
    87                 eof = 1;
     87                has_eof = 1;
    8888            }
    8989            total += n;
     
    106106        }
    107107
    108         if(eof)
     108        if(has_eof)
    109109            break;
    110110    }
Note: See TracChangeset for help on using the changeset viewer.