mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:10:38 +00:00
Move and install resources to more appropriate place.
Minor fixes. Incorporate Adam Fedor's NSImage patches. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2070 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4853938352
commit
da3b8c61cc
24 changed files with 145 additions and 158 deletions
|
@ -284,15 +284,14 @@
|
|||
{
|
||||
unsigned char *planes[MAX_PLANES];
|
||||
[self getBitmapDataPlanes: planes];
|
||||
return (unsigned char *)[imageData mutableBytes];
|
||||
// return planes[0];
|
||||
return planes[0];
|
||||
}
|
||||
|
||||
- (void) getBitmapDataPlanes: (unsigned char **)data
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!imagePlanes)
|
||||
if (!imagePlanes || !imagePlanes[0])
|
||||
{
|
||||
long length;
|
||||
unsigned char* bits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue