[Geany-devel] small svn Goto Line dialog fix

Dimitar Zhekov hamster at xxxxx
Mon May 10 10:23:28 UTC 2010


Hi.

In geany-svn, in the Goto Line dialog, Cancel works the same way as OK.
That's because on_go_to_line_activate() checks the result of
dialogs_show_input_goto_line() for NULL, but the result is always a
copy of either the new or the old/default text. Altering
dialogs_show_input_goto_line() not to use NVL() seems to work.

While on that, why not make dialog_input static? It should never be
used outside dialogs.

--
E-gards: Jimmy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn-4894-goto-line.diff
Type: text/x-diff
Size: 898 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100510/a5389304/attachment.diff>


More information about the Devel mailing list