From 8f7d11ef04662c39a202ed74cce8c3993f05e597 Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Fri, 17 Oct 2008 22:01:22 +0000 Subject: [PATCH] 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 --- boutons.c | 3 ++- gfx2.cfg | Bin 10062 -> 10062 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/boutons.c b/boutons.c index e753c3d1..c9739337 100644 --- a/boutons.c +++ b/boutons.c @@ -1139,7 +1139,8 @@ void Copier_certaines_couleurs(void) 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++) { diff --git a/gfx2.cfg b/gfx2.cfg index b1f4f26ee3951219d78650e3e3a66f5de08ba143..37727ffa2148daa3664de168f86330cb339643f1 100644 GIT binary patch delta 282 ucmX@-cg}BvomxF38el*JXwuZ?V%Se@3kaAe#K_3O#K6eF$-w}EAOHaJGX;47 delta 32 icmX@-cg}Bvo!aC;3utI5`+V5Cj0J>;|R)