diff options
author | frosch <frosch@openttd.org> | 2011-07-03 13:49:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-07-03 13:49:29 +0000 |
commit | f93c8ce5aaf8e02bd7e3325f3b84530e9bcda7f4 (patch) | |
tree | ff6d3110876298d3d5ba201c299066dfc847939a /src/object_gui.cpp | |
parent | d29def43b072864fd80495b1ff786476e094c771 (diff) | |
download | openttd-f93c8ce5aaf8e02bd7e3325f3b84530e9bcda7f4.tar.xz |
(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r-- | src/object_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp index e31a82ec5..1bb7d8ce8 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -236,7 +236,7 @@ public: if (callback_res != CALLBACK_FAILED) { StringID message = GetGRFStringID(spec->grf_prop.grffile->grfid, 0xD000 + callback_res); if (message != STR_NULL && message != STR_UNDEFINED) { - PrepareTextRefStackUsage(6); + StartTextRefStackUsage(6); /* Use all the available space left from where we stand up to the * end of the window. We ALSO enlarge the window if needed, so we * can 'go' wild with the bottom of the window. */ |