mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
9c6d161077
commit
f122f8cbdb
2 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue