summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xatari/download.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/atari/download.c b/atari/download.c
index 17a015f7b..c83207227 100755
--- a/atari/download.c
+++ b/atari/download.c
@@ -48,7 +48,9 @@
#include "atari/options.h"
#include "atari/osspec.h"
-/*TODO: get filename from core. */
+/*TODO: get filename from core. */
+
+extern struct gui_window * input_window;
static void gui_download_window_destroy( struct gui_download_window * gdw );
@@ -290,7 +292,8 @@ void gui_download_window_error(struct gui_download_window *dw,
LOG(("%s", error_msg));
strncpy((char*)&dw->lbl_file, error_msg, MAX_SLEN_LBL_FILE-1);
dw->status = NSATARI_DOWNLOAD_ERROR;
- snd_rdw( dw->form );
+ snd_rdw( dw->form );
+ gui_window_set_status(input_window, messages_get("Done") );
}
void gui_download_window_done(struct gui_download_window *dw)
@@ -316,5 +319,6 @@ void gui_download_window_done(struct gui_download_window *dw)
snd_rdw( dw->form );
if( (tree[DOWNLOAD_CB_CLOSE_RDY].ob_state & SELECTED) != 0 ) {
ApplWrite( _AESapid, WM_CLOSED, dw->form->handle, 0,0,0,0);
- }
+ }
+ gui_window_set_status(input_window, messages_get("Done") );
}