Ignore:
Timestamp:
Mar 8, 2006, 12:27:23 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Cosmetic changes here and there.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_ncurses.c

    r550 r551  
    361361        }
    362362
    363         if(kk->mouse_x == (unsigned int)mevent.x &&
    364            kk->mouse_y == (unsigned int)mevent.y)
     363        if(kk->mouse.x == (unsigned int)mevent.x &&
     364           kk->mouse.y == (unsigned int)mevent.y)
    365365            return _pop_event(kk);
    366366
    367         kk->mouse_x = mevent.x;
    368         kk->mouse_y = mevent.y;
    369 
    370         return CACA_EVENT_MOUSE_MOTION | (kk->mouse_x << 12) | kk->mouse_y;
     367        kk->mouse.x = mevent.x;
     368        kk->mouse.y = mevent.y;
     369
     370        return CACA_EVENT_MOUSE_MOTION | (kk->mouse.x << 12) | kk->mouse.y;
    371371    }
    372372
Note: See TracChangeset for help on using the changeset viewer.