(svn r6821) -Codechange: For the measurement tool do not show the tooltip when the selection

is only a single tile. Seems this was a bit annoying to some ;)
This commit is contained in:
Darkvater
2006-10-18 14:20:10 +00:00
parent 83bed39106
commit 5e248781a8
3 changed files with 48 additions and 42 deletions

View File

@@ -807,7 +807,7 @@ void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets,
void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...);
/* misc_gui.c*/
void GuiShowTooltipsWithArgs(StringID str, uint paramcount, uint params[]);
void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint params[]);
static inline void GuiShowTooltips(StringID str)
{
GuiShowTooltipsWithArgs(str, 0, NULL);