diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 9dff8cfbe..f62186a34 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -6,7 +6,7 @@ Copyright (c) 2002-2023 Various contributors (see below, and AUTHORS.txt) https://tuxpaint.org/ -2023.May.25 (0.9.31) +2023.May.27 (0.9.31) * New Magic Tools: ---------------- * Loops - Draw loop-the-loops. @@ -57,6 +57,13 @@ https://tuxpaint.org/ for Undo/Redo. Bill Kendrick + * When specifying "datadir", Tux Paint's "New" dialog + was able to present templates found in that directory, + but would attempt to load from whatever the user's + "savedir" was, instead. + h/t Giancarlo Orru for reporting the bug. + Bill Kendrick + * Localization Updates: --------------------- * Russian translaton diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 45a1e9a76..b4effe6cc 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 - May 25, 2023 + June 14, 2002 - May 27, 2023 */ #include "platform.h" @@ -14057,7 +14057,7 @@ static void load_template(char *img_id) if (template_personal == 0) dirname = strdup(DATA_PREFIX "templates"); else - dirname = get_fname("templates", DIR_SAVE); + dirname = get_fname("templates", DIR_DATA); /* Clear them to NULL first: */ img_starter = NULL; @@ -16986,7 +16986,7 @@ static int do_open(void) char *instructions; int num_left_buttons; - /* FIXME: Support simplification to disable "Template" option -bjk 2023.05.25 */ + /* FIXME: Support simplification to disable "Template" (make a template) option -bjk 2023.05.25 */ if (1) { instructions = textdir(gettext_noop("Choose a picture and then click “Open”, “Export”, “Template“, or “Erase”. Click “Slides” to create a slideshow animation or “Back“ to return to your current picture.")); } else {