Ignore:
Timestamp:
Jan 4, 2005, 6:00:50 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • use INT_MAX instead of 99999...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/slashdot.c

    r408 r411  
    1313#include <stdlib.h>
    1414#include <string.h>
     15#include <limits.h>
    1516#include <math.h>
    1617
     
    324325    {
    325326        /* Try to find 1st letter */
    326         distmin = 999999999;
     327        distmin = INT_MAX;
    327328        for(i = 0; i < 22; i++)
    328329        {
    329             int localmin = 99999999, localx, localy;
     330            int localmin = INT_MAX, localx, localy;
    330331//if(all[i] == 'i') continue;
    331332            xmin = glyphs[i].xmin;
Note: See TracChangeset for help on using the changeset viewer.