gnumeric/gnumeric-missing-return.patch

25 lines
634 B
Diff

From ffd85edb736177076d4b295ea283cca02def88c7 Mon Sep 17 00:00:00 2001
From: Morten Welinder <terra@gnome.org>
Date: Mon, 19 Nov 2012 21:32:24 +0000
Subject: Cell format: actually return the intended result.
---
(limited to 'src/cell.c')
diff --git a/src/cell.c b/src/cell.c
index 68991e7..77b9988 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -955,7 +955,7 @@ gnm_cell_get_format_given_style (GnmCell const *cell, GnmStyle const *style)
GOFormat const *
gnm_cell_get_format (GnmCell const *cell)
{
- gnm_cell_get_format_given_style (cell, NULL);
+ return gnm_cell_get_format_given_style (cell, NULL);
}
/*
--
cgit v0.9.0.2