Skip to content
Snippets Groups Projects
Commit b59d914e authored by deuce's avatar deuce
Browse files

Save/restore hold_update.

parent 84deba02
No related branches found
No related tags found
No related merge requests found
...@@ -316,6 +316,7 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char ...@@ -316,6 +316,7 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char
int finished=FALSE; int finished=FALSE;
int retval=0; int retval=0;
int fieldmove; int fieldmove;
int oldhu=hold_update;
height=api->scrn_len-3; height=api->scrn_len-3;
width=SCRN_RIGHT-SCRN_LEFT-3; width=SCRN_RIGHT-SCRN_LEFT-3;
...@@ -639,6 +640,7 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char ...@@ -639,6 +640,7 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char
} }
cleanup: /* Cleans up allocated variables returns from function */ cleanup: /* Cleans up allocated variables returns from function */
hold_update=oldhu;
FREE_AND_NULL(lastpath); FREE_AND_NULL(lastpath);
FREE_AND_NULL(tmppath); FREE_AND_NULL(tmppath);
FREE_AND_NULL(tmplastpath); FREE_AND_NULL(tmplastpath);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment