src/util.h

changeset 7478
a7df4df98778
parent 7303
b7b02c31b5bb
child 7564
baab99d239d8
equal deleted inserted replaced
7477:40ce33c4955a 7478:a7df4df98778
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 *

mercurial