only set remembered custom dir pan if we're using an instance that has custom dir enabled

SVN revision: 72469
This commit is contained in:
Mike Blumenkrantz 2012-06-19 10:24:09 +00:00
parent 671feaa78c
commit b331eececb
1 changed files with 1 additions and 1 deletions

View File

@ -7271,7 +7271,7 @@ _e_fm2_cb_resize_job(void *data)
sd->pw = sd->w;
sd->ph = sd->h;
if ((sd->max.w > 0) && (sd->max.h > 0) && (sd->w > 0) && (sd->h > 0))
if ((sd->max.w > 0) && (sd->max.h > 0) && (sd->w > 0) && (sd->h > 0) && (sd->view_flags & E_FM2_VIEW_SAVE_DIR_CUSTOM))
{
E_Fm2_Custom_File *cf = e_fm2_custom_file_get(sd->realpath);
if ((cf) && (cf->dir))