From 547c17bb1c2d3ae6c187bf2082b6b5ada3f124c1 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 07:31:47 +0200 Subject: Fixing iupStrToMac. --- iup/src/iup_str.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'iup/src/iup_str.h') diff --git a/iup/src/iup_str.h b/iup/src/iup_str.h index 1c2e7a5..e7599fb 100755 --- a/iup/src/iup_str.h +++ b/iup/src/iup_str.h @@ -150,10 +150,9 @@ int iupStrReplace(char* str, char src, char dst); * \ingroup str */ void iupStrToUnix(char* str); -/** Convert line ends to MAC format (one \r per line). - * If returned pointer different than input it must be freed. +/** Convert line ends to MAC format in place (one \r per line). * \ingroup str */ -char* iupStrToMac(const char* str); +void iupStrToMac(char* str); /** Convert line ends to DOS/Windows format (the sequence \r\n per line). * If returned pointer different than input it must be freed. -- cgit v1.2.3