summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c
index d08185333..54b341360 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -133,8 +133,8 @@ static void NewsWindowProc(Window *w, WindowEvent *e)
case WE_CLICK: {
switch(e->click.widget) {
case 1: {
- DeleteWindow(w);
NewsItem *ni = WP(w,news_d).ni;
+ DeleteWindow(w);
ni->duration = 0;
if(_forced_news!=255) _forced_news = 255;
} break;