Ignore:
Timestamp:
2006-12-11T11:22:20+13:00 (17 years ago)
Author:
shaoqun
Message:

added code for accentfolding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/text/mg_files.cpp

    r8692 r13477  
    9393}
    9494
     95
     96/* [JFG - Mar 06: Accent folding patch] */
     97/* This generates a suffixe for a file name. It places the name in the
     98   buffer specified or if that is NULL, it uses a static buffer.
     99   Please do not specify buffers under 512 or the data to be written. */
     100char *
     101make_suffix (const char *suffix_format, const char suffix_arg, char *buffer)
     102{
     103  static char suffix[512];
     104  if (!buffer)
     105    buffer = suffix;
     106  sprintf (buffer, suffix_format, suffix_arg);
     107  return buffer;
     108}
     109 
    95110
    96111
Note: See TracChangeset for help on using the changeset viewer.