Changeset 14 for trunk/txlib/txlogfil.c

Show
Ignore:
Timestamp:
07/08/06 18:42:16 (2 years ago)
Author:
jvw
Message:

HEX/ASCII (sector) editor control added

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/txlib/txlogfil.c

    r13 r14  
    181181( 
    182182   ULONG               seq,                     // IN    sequence number 
     183   ULONG               retain,                  // IN    nr of files kept 
    183184   TXLN                buf                      // IN    filename buffer 
    184185) 
     
    193194   else 
    194195   { 
     196      if ((seq >= 100) && (retain < 100))       // OK to use modulo seq ? 
     197      { 
     198         seq %= 100;                            // reduce to two digits, to 
     199      }                                         // limit extension to three 
    195200      sprintf( ext, "l%02lu", seq); 
    196201   }