Changeset - r8026:84e6cb6c7cb8
[Not reviewed]
master
0 2 0
glx - 16 years ago 2007-12-07 17:42:15
glx@openttd.org
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -134,7 +134,7 @@ void Window::RaiseButtons()
 
	}
 
}
 

	
 
void Window::InvalidateWidget(byte widget_index)
 
void Window::InvalidateWidget(byte widget_index) const
 
{
 
	const Widget *wi = &this->widget[widget_index];
 

	
src/window.h
Show inline comments
 
@@ -297,7 +297,7 @@ struct Window {
 
	void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
 
	void CDECL SetWidgetsHiddenState(bool hidden_stat, int widgets, ...);
 
	void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);
 
	void InvalidateWidget(byte widget_index);
 
	void InvalidateWidget(byte widget_index) const;
 
};
 

	
 
struct querystr_d {
0 comments (0 inline, 0 general)