Mend bug: Eraser choices turning white...

...when a prompt came up.

h/t Pere; https://sourceforge.net/p/tuxpaint/bugs/292/
This commit is contained in:
Bill Kendrick 2024-09-25 20:01:01 -07:00
parent 13ce7287c8
commit be4827cd03
2 changed files with 9 additions and 3 deletions

View file

@ -6,7 +6,7 @@ Copyright (c) 2002-2024
Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/
2024.September.24 (0.9.34)
2024.September.25 (0.9.34)
* New Magic Tools:
----------------
* "Comic Dots", draws repeating dots (using a multiply blend)
@ -64,6 +64,12 @@ https://tuxpaint.org/
* Vietnamese translation
Cas Pascal <casboi86@gmail.com>
* Bug Fixes:
----------
* Eraser choices turned from black to white when a prompt appeared.
h/t Pere for reporting
Closes https://sourceforge.net/p/tuxpaint/bugs/292/
2024.July.17 (0.9.33)
* New Magic Tools:
----------------

View file

@ -22,7 +22,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - September 23, 2024
June 14, 2002 - September 25, 2024
*/
#include "platform.h"
@ -14897,7 +14897,7 @@ static int do_prompt_image_flash_snd(const char *const text,
screen->format->Rmask,
screen->format->Gmask, screen->format->Bmask, screen->format->Amask);
SDL_FillRect(backup, NULL, SDL_MapRGBA(backup->format, 255, 255, 255, 255));
SDL_FillRect(backup, NULL, SDL_MapRGBA(backup->format, 255, 255, 255, 0));
SDL_BlitSurface(screen, NULL, backup, NULL);
/*