# HG changeset patch # User Richard Laager # Date 1136421592 0 # Node ID 868d574dd83e35306abf61d9de384015da07a1d5 # Parent 03f35245958237e52c0fdf06200fcffdbf177659 [gaim-migrate @ 15070] Fix this off-by-one bug that resulted from my removal of GAIM_STATUS_UNSET: (18:26:53) NSA_: go into the saved status editor and choose some status to edit. then for "Status:" select one and save the status. it will select the value for the index-1 in that select box committer: Tailor Script diff -r 03f352459582 -r 868d574dd83e src/gtksavedstatuses.c --- a/src/gtksavedstatuses.c Thu Jan 05 00:18:24 2006 +0000 +++ b/src/gtksavedstatuses.c Thu Jan 05 00:39:52 2006 +0000 @@ -662,7 +662,7 @@ return; } - type = gtk_option_menu_get_history(dialog->type); + type = gtk_option_menu_get_history(dialog->type) + (GAIM_STATUS_UNSET + 1); message = gtk_imhtml_get_markup(dialog->message); unformatted = gaim_markup_strip_html(message);