mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eb1de91d9d
commit
07904067a4
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
+ (id) dataWithBytes: (const void*)bytes
|
||||
length: (unsigned int)length
|
||||
{
|
||||
return [[[NSGNUData alloc] initWithBytes:bytes length:length]
|
||||
return [[[NSGData alloc] initWithBytes:bytes length:length]
|
||||
autorelease];
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@
|
|||
- (NSString*) description
|
||||
{
|
||||
/* xxx worry about escaping, NSString does that? */
|
||||
return [NSString stringWithBytes:[self bytes] length:[self length]];
|
||||
return [NSString stringWithCString:[self bytes] length:[self length]];
|
||||
}
|
||||
|
||||
- (void)getBytes: (void*)buffer
|
||||
|
|
Loading…
Reference in a new issue