Commit 9374589c authored by Michael Meeks's avatar Michael Meeks

Jon found a nasty typo.

parent 418392f9
2000-01-05 Michael Meeks <mmeeks@gnu.org>
* src/mstyle.c (mstyle_get_font_size): fix a brainless precondition
typo causing people grief; thanks to Jon.
2000-01-05 Jody Goldberg <jgoldberg@home.com>
* src/workbook-view.c (workbook_view_set_undo_redo_state) : Disable
......
2000-01-05 Michael Meeks <mmeeks@gnu.org>
* src/mstyle.c (mstyle_get_font_size): fix a brainless precondition
typo causing people grief; thanks to Jon.
2000-01-05 Jody Goldberg <jgoldberg@home.com>
* src/workbook-view.c (workbook_view_set_undo_redo_state) : Disable
......
......@@ -955,7 +955,7 @@ double
mstyle_get_font_size (const MStyle *style)
{
g_return_val_if_fail (style != NULL, 12.0);
g_return_val_if_fail (mstyle_is_element_set (style, MSTYLE_FONT_ITALIC), 12.0);
g_return_val_if_fail (mstyle_is_element_set (style, MSTYLE_FONT_SIZE), 12.0);
return style->elements [MSTYLE_FONT_SIZE].u.font.size;
}
......
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