Definition at line 316 of file ftmac.c.
Referenced by parse_fond().
00318 {
00319 int max = 5, count = 0;
00320 FT_Byte* p = lwfn_file_name;
00321 FT_Byte* q = (FT_Byte*)ps_name;
00322
00323
00324 lwfn_file_name[0] = 0;
00325
00326 while ( *q )
00327 {
00328 if ( ft_isupper( *q ) )
00329 {
00330 if ( count )
00331 max = 3;
00332 count = 0;
00333 }
00334 if ( count < max && ( ft_isalnum( *q ) || *q == '_' ) )
00335 {
00336 *++p = *q;
00337 lwfn_file_name[0]++;
00338 count++;
00339 }
00340 q++;
00341 }
00342 }