diff options
author | perepujal <perepujal> | 2010-03-25 19:39:17 (GMT) |
---|---|---|
committer | perepujal <perepujal> | 2010-03-25 19:39:17 (GMT) |
commit | 281a09443bdabb11e0f64aca9d1cb397f8bb36bb (patch) | |
tree | dce770fd809df8629a27008ed6ab29504f445f56 | |
parent | 7d9b06f77f4c98160e2dac1cb700ff1c24b1d5be (diff) |
Fix writing thumbnails for custom starters.
-rw-r--r-- | src/tuxpaint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 2907804..77cf96b 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!"); |