Changeset - r20967:091f0485c05f
[Not reviewed]
master
0 1 0
fonsinchen - 11 years ago 2013-11-19 19:43:56
fonsinchen@openttd.org
(svn r26041) -Fix: make variable initialization more obvious for humans and compilers.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/strings.cpp
Show inline comments
 
@@ -798,13 +798,13 @@ static char *FormatString(char *buff, co
 
		} else {
 
			FormatString(buff, str_arg, args, last, case_index, game_script, true);
 
		}
 
		/* We have to restore the original offset here to to read the correct values. */
 
		args->offset = orig_offset;
 
	}
 
	WChar b;
 
	WChar b = '\0';
 
	uint next_substr_case_index = 0;
 
	char *buf_start = buff;
 
	std::stack<const char *> str_stack;
 
	str_stack.push(str_arg);
 

	
 
	for (;;) {
0 comments (0 inline, 0 general)