(svn r4730) - Backport from trunk (r4690):

Fix (r4668, br4301): Editing a too long string in the editbox resulted in improper strings
  Update about box with Mihamix's real name
This commit is contained in:
Darkvater 2006-05-03 21:40:45 +00:00
parent 63a1bc7ee7
commit 660d991cc1
1 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ static const char *credits[] = {
" Matthijs Kooijman (blathijs) - Pathfinder-god",
" Victor Fischer (Celestar) - Programming everywhere you need him to",
" Tamás Faragó (Darkvater) - Lead coder",
" Kerekes Miham (MiHaMiX) - Translator system, and Nightlies host",
" Attila Bán (MiHaMiX) - WebTranslator, Nightlies, Wiki and bugtracker host",
" Owen Rudge (orudge) - Forum- and masterserver host, OS/2 port",
" Peter Nelson (peter1138) - Spiritual descendant from newgrf gods",
" Christoph Mallon (Tron) - Programmer, code correctness police",
@ -1065,7 +1065,7 @@ void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth,
w = AllocateWindowDesc(&_query_string_desc);
GetString(_edit_str_buf, str);
_edit_str_buf[realmaxlen] = '\0';
_edit_str_buf[realmaxlen-1] = '\0';
if (maxlen & 0x1000) {
WP(w, querystr_d).orig = NULL;