src/news_gui.cpp
changeset 7970 7d6b9ab57081
parent 7891 aef0c16244d7
child 7997 df87ccd00a96
--- a/src/news_gui.cpp	Sun Nov 25 20:20:16 2007 +0000
+++ b/src/news_gui.cpp	Mon Nov 26 16:01:29 2007 +0000
@@ -220,7 +220,7 @@
 		if (w->viewport != NULL)
 			w->viewport->top += y - w->top;
 
-		diff = delta(w->top, y);
+		diff = Delta(w->top, y);
 		w->top = y;
 
 		SetDirtyBlocks(w->left, w->top - diff, w->left + w->width, w->top + w->height);