Ignore:
Timestamp:
Apr 19, 2008, 9:25:47 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of the last long types in the API.
  • Use size_t and ssize_t where appropriate.
File:
1 edited

Legend:

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

    r2299 r2304  
    7373    static cucul_canvas_t *frontcv, *backcv, *mask;
    7474
    75     int demo, next = -1, pause = 0, next_transition = DEMO_FRAMES;
     75    int demo, next = -1, paused = 0, next_transition = DEMO_FRAMES;
    7676    unsigned int i;
    7777    int tmode = cucul_rand(0, TRANSITION_COUNT);
     
    118118                    goto end;
    119119                case ' ':
    120                     pause = !pause;
     120                    paused = !paused;
    121121                    break;
    122122                case '\r':
     
    133133                                    cucul_get_canvas_height(frontcv));
    134134
    135         if(pause)
    136             goto paused;
     135        if(paused)
     136            goto _paused;
    137137
    138138        /* Update demo's data */
     
    160160
    161161        frame++;
    162 paused:
     162_paused:
    163163        /* Render main demo's canvas */
    164164        fn[demo](RENDER, frontcv);
Note: See TracChangeset for help on using the changeset viewer.