comparison src/util.h @ 7478:3c21f3084ff0

[gaim-migrate @ 8091] gaim_str_strip_linefeed strips carriage returns.. changing name accordingly. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 11 Nov 2003 20:34:00 +0000
parents 3ec38f08b0b2
children 54b370f7d9bf
comparison
equal deleted inserted replaced
7477:29d69daa1ede 7478:3c21f3084ff0
368 * @return The string with carriage returns. 368 * @return The string with carriage returns.
369 */ 369 */
370 char *gaim_str_add_cr(const char *str); 370 char *gaim_str_add_cr(const char *str);
371 371
372 /** 372 /**
373 * Strips all linefeeds from a string. 373 * Strips all carriage returns from a string.
374 * 374 *
375 * @param str The string to strip linefeeds from. 375 * @param str The string to strip carriage returns from.
376 */ 376 */
377 void gaim_str_strip_linefeed(char *str); 377 void gaim_str_strip_cr(char *str);
378 378
379 /** 379 /**
380 * Given a string, this replaces one substring with another 380 * Given a string, this replaces one substring with another
381 * and returns a newly allocated string. 381 * and returns a newly allocated string.
382 * 382 *