From d0368d0814f80702f4b6335392c74f81a8b430e2 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Thu, 25 Mar 2010 19:39:17 +0000 Subject: [PATCH] Fix writing thumbnails for custom starters. --- src/tuxpaint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 2907804ee..77cf96bd4 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -17392,8 +17392,10 @@ static int do_new_dialog(void) /* Let's save this thumbnail, so we don't have to create it again next time 'Open' is called: */ + /* if (d_places[num_files] == PLACE_SAVED_DIR) */ /* <-- FIXME: This test should probably go...? -bjk 2009.10.15 */ - if (d_places[num_files] == PLACE_SAVED_DIR) /* <-- FIXME: This test should probably go...? -bjk 2009.10.15 */ + if (d_places[num_files] == PLACE_PERSONAL_STARTERS_DIR || /* We must check to not try to write to system wide dirs Pere 2010.3.25 */ + d_places[num_files] == PLACE_PERSONAL_TEMPLATES_DIR) { debug("Saving thumbnail for this one!");