From 01111df2d3127b583e1505a196558037e559d931 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Wed, 22 Sep 2004 05:11:58 +0000 Subject: [PATCH] Fixed bug where starter background wouldn't get flipped. (y, not x! d'oh!) --- docs/TODO.txt | 7 +------ src/tuxpaint.c | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/TODO.txt b/docs/TODO.txt index 8256bb369..ad452c049 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -6,18 +6,13 @@ Copyright (c) 2004 by Bill Kendrick bill@newbreedsoftware.com http://www.newbreedsoftware.com/tuxpaint/ -September 18, 2004 +September 21, 2004 BUGS! ----- * Get Starters to work properly in 800x600 mode. - * When loading an image based on a Starter (either via Open or if it was - loaded automatically at startup), if the Starter has a bkgd. and the - image had been flipped at any point, the Starter background doesn't get - flipped (so Eraser doesn't work right). - * Keep track of Mirror and Flip actions in Undo history, so that Starters can be un/re-flipped and un/re-mirrored, and "starter_mirrored" and "starter_flipped" flags can be toggled. diff --git a/src/tuxpaint.c b/src/tuxpaint.c index be8825e9e..8328c0a9b 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -12973,7 +12973,7 @@ void flip_starter(void) src.h = 1; dest.x = 0; - dest.y = orig->h - x - 1; + dest.y = orig->h - y - 1; SDL_BlitSurface(orig, &src, img_starter_bkgd, &dest); }