Commit 794beae7 authored by Andreas J. Guelzow 's avatar Andreas J. Guelzow

fix tooltips (#647240)

2011-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (gnm_func_get_arg_description): fix zero-based index
	counting, fixes #647240
parent 01ead3b1
2011-04-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/func.c (gnm_func_get_arg_description): fix zero-based index
counting, fixes #647240
2011-04-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* src/sheet.c (sheet_range_contains_region): formulas ->formul\303\246
......
......@@ -1429,7 +1429,7 @@ gnm_func_get_arg_description (GnmFunc const *fn_def, guint arg_idx)
if (fn_def->help[i].type != GNM_FUNC_HELP_ARG)
continue;
if (--arg_idx)
if (arg_idx--)
continue;
desc = strchr (F2 (fn_def, fn_def->help[i].text), ':');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment