Fix issue 251: random transparent color for new layers

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1219 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-11-19 00:13:12 +00:00
parent 21e3cfe959
commit 776da3980d
2 changed files with 3 additions and 2 deletions

View File

@@ -73,6 +73,7 @@ T_Page * New_page(byte nb_layers)
page->Filename[0]='\0';
page->File_format=DEFAULT_FILEFORMAT;
page->Nb_layers=nb_layers;
page->Transparent_color=0; // Default transparent color
page->Next = page->Prev = NULL;
}
return page;