Date:2011-04-14 00:34:00 (8 years 4 months ago)
Author:Werner Almesberger
Commit:fbc7aee55fa971a2aaecbfd540ba5618376c5156
Message:atrf-path/gui.c (main): cycle counting was broken; fixed it

Files: tools/atrf-path/gui.c (2 diffs)

Change Details

tools/atrf-path/gui.c
173173{
174174    SDL_Surface *surf;
175175    SDL_Event event;
176    int cycle = 0;
176    int cycle;
177177    int fail;
178178
179179    if (SDL_Init(SDL_INIT_VIDEO) < 0) {
...... 
188188        exit(1);
189189    }
190190
191    while (cycle != sweeps || !sweeps) {
191    for (cycle = 0; cycle != sweeps || !sweeps; cycle++) {
192192        struct sample res[N_CHAN*2];
193193
194194        while (SDL_PollEvent(&event))

Archive Download the corresponding diff file



interactive