Changeset 906 for trunk/dll/strips.c


Ignore:
Timestamp:
Jan 6, 2008, 5:21:14 AM (18 years ago)
Author:
Gregg Young
Message:

The basic program quoting code and some mailto cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/strips.c

    r895 r906  
    8181}
    8282
     83VOID remove_last_occurence_of_character(char *pszRemoveChar, char *pszSrc)
     84{
     85  PSZ pszStrLocation;
     86
     87  pszStrLocation = strrchr(pszSrc, *pszRemoveChar);
     88  if (pszStrLocation)
     89    memmove(pszStrLocation, pszStrLocation + 1, strlen(pszStrLocation) + 1);
     90}
     91
    8392#pragma alloc_text(MISC8,chop_at_crnl,convert_nl_to_nul,strip_trail_char,strip_lead_char)
Note: See TracChangeset for help on using the changeset viewer.