window.c
changeset 2630 35249d2ded3e
parent 2596 d228e8ce6fcf
child 2631 13daba67f217
--- a/window.c	Sat Nov 12 11:10:12 2005 +0000
+++ b/window.c	Sun Nov 13 13:43:55 2005 +0000
@@ -158,7 +158,7 @@
 
 void DrawOverlappedWindow(Window *w, int left, int top, int right, int bottom)
 {
-	Window *v = w;
+	const Window* v = w;
 	int x;
 
 	while (++v != _last_window) {
@@ -1574,7 +1574,7 @@
 
 void InvalidateWindowWidget(byte cls, WindowNumber number, byte widget_index)
 {
-	Window *w;
+	const Window* w;
 
 	for(w=_windows; w!=_last_window; w++) {
 		if (w->window_class==cls && w->window_number==number) {
@@ -1585,7 +1585,7 @@
 
 void InvalidateWindowClasses(byte cls)
 {
-	Window *w;
+	const Window* w;
 	for(w=_windows; w!=_last_window; w++) {
 		if (w->window_class==cls)
 			SetWindowDirty(w);