# HG changeset patch # User rubidium # Date 2010-01-23 19:30:53 # Node ID 7a29cdf9bb36a0c2290a8d3c704952e8bac9c18e # Parent e306ac295dff703699c63cc3d7b49a1c087e4d88 (svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default' diff --git a/src/window_gui.h b/src/window_gui.h --- a/src/window_gui.h +++ b/src/window_gui.h @@ -719,8 +719,9 @@ public: /** * 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) {}