Changeset - r7854:15c19112b774
[Not reviewed]
master
0 2 0
belugas - 17 years ago 2007-11-11 01:39:15
belugas@openttd.org
(svn r11404) -Codechange: remove 2 magical numbers
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/main_gui.cpp
Show inline comments
 
@@ -2008,7 +2008,7 @@ static bool DrawScrollingStatusText(cons
 
	int x;
 
	char buffer[256];
 

	
 
	if (ni->display_mode == 3) {
 
	if (ni->display_mode == NM_CALLBACK) {
 
		str = _get_news_string_callback[ni->callback](ni);
 
	} else {
 
		CopyInDParam(0, ni->params, lengthof(ni->params));
src/news_gui.cpp
Show inline comments
 
@@ -652,7 +652,7 @@ static void DrawNewsString(int x, int y,
 
	char *dest;
 
	StringID str;
 

	
 
	if (ni->display_mode == 3) {
 
	if (ni->display_mode == NM_CALLBACK) {
 
		str = _get_news_string_callback[ni->callback](ni);
 
	} else {
 
		CopyInDParam(0, ni->params, lengthof(ni->params));
0 comments (0 inline, 0 general)