Changeset 723e611 for set.c


Ignore:
Timestamp:
2007-02-26T04:46:35Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fa29d093
Parents:
b6423a09
Message:

Removed boolean code from set_getint() and added bits of help to set.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.c

    rb6423a09 r723e611  
    9292                return 0;
    9393       
    94         if( ( g_strcasecmp( s, "true" ) == 0 ) || ( g_strcasecmp( s, "yes" ) == 0 ) || ( g_strcasecmp( s, "on" ) == 0 ) )
    95                 return 1;
    96        
    9794        if( sscanf( s, "%d", &i ) != 1 )
    9895                return 0;
Note: See TracChangeset for help on using the changeset viewer.