A temporary fix.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8045 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-11-06 16:44:54 +00:00
parent 9c6d161077
commit f122f8cbdb
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: handle_printf_atsign() - use lossyCString to
get string to print. This is a temporary *HACK* - we need a proper
unicode supporting initWithFormat:
* Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
allocate inline string classes for substrings.

View file

@ -275,7 +275,7 @@ handle_printf_atsign (FILE *stream,
#endif
len = fprintf(stream, "%*s",
(info->left ? - info->width : info->width),
[[string_object description] cString]);
[[string_object description] lossyCString]);
return len;
}
#endif /* HAVE_REGISTER_PRINTF_FUNCTION */