From bc2351baf86909cabb62091371183f02c0d7da39 Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Wed, 16 Apr 2014 06:56:40 +0000 Subject: [PATCH] Fixed bug that prevented starters with ",jpeg" backgrounds ('-back') from having their background loaded. --- src/tuxpaint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 8bc2ff428..40a2c1338 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - June 14, 2002 - April 6, 2014 + June 14, 2002 - April 15, 2014 */ @@ -11221,7 +11221,7 @@ static void load_starter(char *img_id) /* (JPEG) */ if (tmp_surf == NULL) { - snprintf(fname, sizeof(fname), "%s/%s-back.jpeg", dirname, img_id); + snprintf(fname, sizeof(fname), "%s/%s-back", dirname, img_id); tmp_surf = load_starter_helper(fname, "jpeg", &IMG_Load); }