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

Erase the file picker on upload immediately.

Not that since uifcbail() is not being called firest, we still need to
"re-erase" it later.
parent 2c065852
No related branches found
No related tags found
No related merge requests found
...@@ -558,6 +558,7 @@ void begin_upload(struct bbslist *bbs, BOOL autozm) ...@@ -558,6 +558,7 @@ void begin_upload(struct bbslist *bbs, BOOL autozm)
} }
SAFECOPY(path,fpick.selected[0]); SAFECOPY(path,fpick.selected[0]);
filepick_free(&fpick); filepick_free(&fpick);
puttext(1,1,txtinfo.screenwidth,txtinfo.screenheight,buf);
if((fp=fopen(path,"rb"))==NULL) { if((fp=fopen(path,"rb"))==NULL) {
SAFEPRINTF2(str,"Error %d opening %s for read",errno,path); SAFEPRINTF2(str,"Error %d opening %s for read",errno,path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment