Changes in help.c [c227706:022e77f]
Legend:
- Unmodified
- Added
- Removed
-
help.c
rc227706 r022e77f 31 31 #define BUFSIZE 1100 32 32 33 help_t *help_init( help_t **help , const char *helpfile)33 help_t *help_init( help_t **help ) 34 34 { 35 35 int i, buflen = 0; … … 41 41 *help = h = g_new0 ( help_t, 1 ); 42 42 43 h->fd = open( helpfile, O_RDONLY43 h->fd = open( global.helpfile, O_RDONLY 44 44 #ifdef _WIN32 45 45 | O_BINARY … … 109 109 help_t *h; 110 110 111 for( h = *help; h; h = h->next ) 111 h=*help; 112 113 while( h ) 112 114 { 113 if( h->string != NULL && 114 g_strcasecmp( h->string, string ) == 0 ) 115 break; 115 if( g_strcasecmp( h->string, string ) == 0 ) break; 116 h = h->next; 116 117 } 117 118 if( h && h->length > 0 )
Note: See TracChangeset
for help on using the changeset viewer.