From 5af829a6d20faa3f6f1c113d4b5c5262d2406aac Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 8 Feb 2001 18:00:23 +0000 Subject: Use e_format_number. 2001-02-08 Christopher James Lahey * e-cell-number.c (ecn_get_text): Use e_format_number. svn path=/trunk/; revision=8111 --- widgets/table/e-cell-number.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table/e-cell-number.c') diff --git a/widgets/table/e-cell-number.c b/widgets/table/e-cell-number.c index 8c8062d749..ebac2c78ed 100644 --- a/widgets/table/e-cell-number.c +++ b/widgets/table/e-cell-number.c @@ -19,7 +19,7 @@ static ECellTextClass *parent_class; static char * ecn_get_text(ECellText *cell, ETableModel *model, int col, int row) { - return g_strdup_printf ("%d", GPOINTER_TO_INT (e_table_model_value_at(model, col, row))); + return e_format_number(GPOINTER_TO_INT (e_table_model_value_at(model, col, row))); } static void -- cgit