Remove the bitmap type since it is not really needed and complicate things.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5603 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -86,7 +86,12 @@ Palette* NewMonochromePalette (void)
|
||||
|
||||
Palette* DupPalette (const Palette* P)
|
||||
/* Create a copy of a palette */
|
||||
{
|
||||
{
|
||||
/* Allow to pass a NULL palette */
|
||||
if (P == 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Create a new palette */
|
||||
Palette* N = NewPalette (P->Count);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user