Ignore:
Timestamp:
Aug 11, 2009, 10:56:57 PM (13 years ago)
Author:
Sam Hocevar
Message:

Fix numerous compiler warnings.

File:
1 edited

Legend:

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

    r124 r162  
    9494  int w=cache.img(save_buts[0])->width();
    9595  int mx=last_demo_mx-w/2;
    96   if((unsigned)(mx + w + 10) > xres) mx = xres - w - 10;
    97   if( mx < 0) mx = 0;
     96  if(mx + w + 10 > xres) mx = xres - w - 10;
     97  if(mx < 0) mx = 0;
    9898
    9999  Jwindow *l_win=create_num_window(mx,MAX_SAVE_GAMES,NULL);
Note: See TracChangeset for help on using the changeset viewer.