Commit 5673b906 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

Return -1 rather than 0 on failure.

* src/prefdialog.cc (get_toolbar_style_index): Return -1 rather
than 0 on failure.
parent 391de893
2004-05-18 Daniel Elstner <daniel.elstner@gmx.net>
* src/prefdialog.cc (get_toolbar_style_index): Return -1 rather
than 0 on failure.
2004-05-18 Daniel Elstner <daniel.elstner@gmx.net>
* ui/prefdialog.glade (button_textview_font): Replace custom font
......
......@@ -53,7 +53,7 @@ int get_toolbar_style_index(const Glib::ustring& value)
return i;
}
g_return_val_if_reached(0);
g_return_val_if_reached(-1);
}
} // anonymous namespace
......
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