mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Unicode and character set updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9301 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b207cc8059
commit
5bb579e9bf
5 changed files with 6780 additions and 792 deletions
|
@ -37,7 +37,16 @@
|
|||
- (id) initWithBitmap: (NSData*)bitmap
|
||||
{
|
||||
[super init];
|
||||
|
||||
if ([bitmap length] != BITMAP_SIZE)
|
||||
{
|
||||
NSLog(@"attempt to initialize character set with invalid bitmap");
|
||||
[self dealloc];
|
||||
return nil;
|
||||
}
|
||||
|
||||
[bitmap getBytes: _data length: BITMAP_SIZE];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue