Changeset 895 for trunk/dll/strips.c
- Timestamp:
- Dec 30, 2007, 12:46:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/strips.c
r793 r895 12 12 26 Jul 06 SHL Add chop_at_crnl 13 13 20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat 14 29 Dec 07 GKY Add remove_first_occurence_of_character 14 15 15 16 ***********************************************************************/ … … 71 72 } 72 73 74 VOID remove_first_occurence_of_character(char *pszRemoveChar, char *pszSrc) 75 { 76 PSZ pszStrLocation; 77 78 pszStrLocation = strchr(pszSrc, *pszRemoveChar); 79 if (pszStrLocation) 80 memmove(pszStrLocation, pszStrLocation + 1, strlen(pszStrLocation) + 1); 81 } 82 73 83 #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.