mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Revert last change
This commit is contained in:
parent
7cff5fc106
commit
90082eccac
2 changed files with 2 additions and 8 deletions
|
@ -1770,13 +1770,7 @@ NSDictionary *locale)
|
|||
|
||||
if (-1 == prec)
|
||||
{
|
||||
/* Find end of string, within the specified limit.
|
||||
*/
|
||||
len = 0;
|
||||
while (str[len] != '\0' && len < width)
|
||||
{
|
||||
len++;
|
||||
}
|
||||
len = strlen(str); // Number of bytes to convert.
|
||||
blen = len; // Size of unichar output buffer.
|
||||
}
|
||||
else
|
||||
|
|
|
@ -73,7 +73,7 @@ NSLog(@"Got %ld on %p", (long int)streamEvent, theStream);
|
|||
NSLog(@"%@", [defaultInput streamError]);
|
||||
NSAssert([defaultInput streamError]==nil, @"read error");
|
||||
}
|
||||
if (readSize == 0)
|
||||
else if (readSize == 0)
|
||||
{
|
||||
[defaultInput close];
|
||||
[defaultInput removeFromRunLoop: [NSRunLoop currentRunLoop]
|
||||
|
|
Loading…
Reference in a new issue