[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
base: [NSString descriptionWithLocale:indent:to:]
From: |
Michael Scheibler |
Subject: |
base: [NSString descriptionWithLocale:indent:to:] |
Date: |
Thu, 19 Apr 2001 14:44:06 +0200 |
I think there is a bug in this function:
- (void) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level
to: (id<GNUDescriptionDestination>)output
{
if ([self length] == 0)
{
[output appendString: @"\"\""];
return;
}
if (quotables == nil)
{
setupQuotables();
}
if ([self rangeOfCharacterFromSet: quotables].length > 0)
{
const char *cstring = [self cString]; // <-- BUG; shouldn't it be
lossyCString?
const char *from;
int len = 0;
- base: [NSString descriptionWithLocale:indent:to:],
Michael Scheibler <=