window.c
changeset 2643 f1fec6d1559a
parent 2639 eeaefdabfdfd
child 2675 010fe459fc1d
equal deleted inserted replaced
2642:1d79b44ccbc9 2643:f1fec6d1559a
  1546 	return -1;
  1546 	return -1;
  1547 }
  1547 }
  1548 
  1548 
  1549 void InvalidateWindow(byte cls, WindowNumber number)
  1549 void InvalidateWindow(byte cls, WindowNumber number)
  1550 {
  1550 {
  1551 	Window *w;
  1551 	const Window* w;
  1552 
  1552 
  1553 	for (w = _windows; w != _last_window; w++) {
  1553 	for (w = _windows; w != _last_window; w++) {
  1554 		if (w->window_class == cls && w->window_number == number) SetWindowDirty(w);
  1554 		if (w->window_class == cls && w->window_number == number) SetWindowDirty(w);
  1555 	}
  1555 	}
  1556 }
  1556 }