Added back the confirmation message in "Copy Spare / Some colors" function.

I shouldn't have removed it in r279, it happens because the spare page has 
unsaved changes and will be modified.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@285 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2008-10-17 22:01:22 +00:00
parent a4bcfff7de
commit 8f7d11ef04
2 changed files with 2 additions and 1 deletions

View File

@ -1139,7 +1139,8 @@ void Copier_certaines_couleurs(void)
Menu_Tag_couleurs("Tag colors to copy",Masque_copie_couleurs,&Confirme,0, NULL); Menu_Tag_couleurs("Tag colors to copy",Masque_copie_couleurs,&Confirme,0, NULL);
if (Confirme) if (Confirme &&
(!Brouillon_Image_modifiee || Demande_de_confirmation("Spare page was modified. Proceed?")))
{ {
for (Indice=0; Indice<256; Indice++) for (Indice=0; Indice<256; Indice++)
{ {

BIN
gfx2.cfg

Binary file not shown.