GNOME Bugzilla – Bug 621123
[runDialog] Fix adding entries to empty history
Last modified: 2010-06-09 16:24:52 UTC
See patch.
Created attachment 163206 [details] [review] [runDialog] Fix adding entries to empty history Before adding a new entry to the history, we check that it does not match the previous entry to cut down the number of duplicate entries. Part of that condition is a check for a history length greater zero to avoid an illegal negative index, with the side effect that nothing is ever added while the history is empty.
Review of attachment 163206 [details] [review]: Good catch.
Attachment 163206 [details] pushed as 51478f1 - [runDialog] Fix adding entries to empty history