aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uicmd.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 27191766..7975237d 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -644,6 +644,10 @@ void a_UIcmd_set_page_prog(BrowserWindow *bw, size_t nbytes, int cmd)
void a_UIcmd_set_img_prog(BrowserWindow *bw, int n_img, int t_img, int cmd)
{
BW2UI(bw)->set_img_prog(n_img, t_img, cmd);
+#if 0
+ if (cmd == 1 && n_img > 0 && n_img == t_img)
+ a_UIcmd_close_bw(bw);
+#endif
}
/*