Ignore:
Timestamp:
Mar 18, 2008, 9:36:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of ugly tabs and trailing spaces everywhere.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/gui.cpp

    r123 r124  
    2323{
    2424  x=X; y=Y; id=ID;
    25   next=Next; 
     25  next=Next;
    2626  blist=cur_but=butts;
    2727  act=0;
     
    3939  int X1,Y1,X2,Y2;
    4040  for (ifield *b=blist;b;b=b->next)
    41   {   
     41  {
    4242    b->area(X1,Y1,X2,Y2);
    4343    if (X1<x1) x1=X1;
     
    6060      if (cur_but==b) cur_but=blist;
    6161      return b;
    62     } 
     62    }
    6363    ifield *x=b->unlink(id);
    6464    if (x) return x;
     
    8484{
    8585  int x1,y1,x2,y2;
    86   area(x1,y1,x2,y2); 
    87  
     86  area(x1,y1,x2,y2);
     87
    8888  if (active!=act  && activate_id!=-1 && active)
    8989    wm->push_event(new event(activate_id,NULL));
    90  
     90
    9191  if (up && !active)
    9292    cache.img(u)->put_image(screen,x1,y1);
     
    100100    wm->push_event(new event(activate_id,NULL));
    101101  act=active;
    102  
     102
    103103  if (active && key[0])
    104104  {
Note: See TracChangeset for help on using the changeset viewer.