Mercurial > hg > openttd
changeset 14345:f8f20a913bdf draft
(svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default'
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sat, 23 Jan 2010 19:30:53 +0000 |
parents | eeee36b97cc5 |
children | a279cef76b51 |
files | src/window_gui.h |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window_gui.h +++ b/src/window_gui.h @@ -719,8 +719,9 @@ /** * The query window opened from this window has closed. - * @param str the new value of the string or NULL if the window - * was cancelled. + * @param str the new value of the string, NULL if the window + * was cancelled or an empty string when the default + * button was pressed, i.e. StrEmpty(str). */ virtual void OnQueryTextFinished(char *str) {}