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_win32.c

    r550 r551  
    262262                COORD pos = rec.Event.MouseEvent.dwMousePosition;
    263263
    264                 if(kk->mouse_x == (unsigned int)pos.X &&
    265                    kk->mouse_y == (unsigned int)pos.Y)
     264                if(kk->mouse.x == (unsigned int)pos.X &&
     265                   kk->mouse.y == (unsigned int)pos.Y)
    266266                    continue;
    267267
    268                 kk->mouse_x = pos.X;
    269                 kk->mouse_y = pos.Y;
    270 
    271                 return CACA_EVENT_MOUSE_MOTION | (kk->mouse_x << 12) | kk->mouse_y;
     268                kk->mouse.x = pos.X;
     269                kk->mouse.y = pos.Y;
     270
     271                return CACA_EVENT_MOUSE_MOTION
     272                        | (kk->mouse.x << 12) | kk->mouse.y;
    272273            }
    273274#if 0
Note: See TracChangeset for help on using the changeset viewer.