API cleanup

darcs-hash:20051007103651-ac50b-3b518ce795adf2d39b8ebfcba6a2df7c36411b15.gz
This commit is contained in:
axel
2005-10-07 20:36:51 +10:00
parent b11aa09142
commit 8ff36deeb4
13 changed files with 171 additions and 156 deletions

View File

@@ -290,7 +290,7 @@ void writestr_ellipsis( const wchar_t *str, int max_width )
int write_escaped_str( const wchar_t *str, int max_len )
{
wchar_t *out = escape( wcsdup(str), 1 );
wchar_t *out = escape( str, 1 );
int i;
int len = my_wcswidth( out );
int written=0;