Changeset - r20588:ec8952eed8fe
[Not reviewed]
master
0 3 0
zuu - 11 years ago 2013-07-21 17:14:35
zuu@openttd.org
(svn r25624) -Fix (r25620, r25623): Silence warnings
3 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/goal_gui.cpp
Show inline comments
 
@@ -237,7 +237,6 @@ struct GoalListWindow : public Window {
 
	void DrawListColumn(GoalColumn column, NWidgetBase *wid, uint progress_col_width) const
 
	{
 
		/* Get column draw area. */
 
		bool rtl = _current_text_dir == TD_RTL;
 
		int y = wid->pos_y + WD_FRAMERECT_TOP;
 
		int x = wid->pos_x + WD_FRAMERECT_LEFT;
 
		int right = x + wid->current_x - WD_FRAMERECT_RIGHT;
src/story.cpp
Show inline comments
 
@@ -88,6 +88,7 @@ static void UpdateElement(StoryPageEleme
 
		case SPET_GOAL:
 
			pe.referenced_id = (GoalID)reference;
 
			break;
 
		default: NOT_REACHED();
 
	}
 
}
 

	
src/story_gui.cpp
Show inline comments
 
@@ -535,6 +535,8 @@ public:
 
					SetDParamStr(0, pe->text);
 
					DrawActionElement(y_offset, right - x, line_height, GetPageElementSprite(*pe));
 
					break;
 

	
 
				default: NOT_REACHED();
 
			}
 
		}
 

	
0 comments (0 inline, 0 general)