[gnumeric] style optimizer: fix crash.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] style optimizer: fix crash.
- Date: Sat, 9 May 2009 00:28:35 -0400 (EDT)
commit 6f207db5c511be0b79da81e088bbef8fbedc165b
Author: Morten Welinder <terra gnome org>
Date: Sat May 9 00:20:01 2009 -0400
style optimizer: fix crash.
---
ChangeLog | 4 ++++
src/sheet-style.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 50e7ffa..7f69871 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-09 Morten Welinder <terra gnome org>
+
+ * src/sheet-style.c (cell_tile_optimize): Fix crash. #581931.
+
2009-05-08 Morten Welinder <terra gnome org>
* src/expr.c (gnm_expr_get_range): Handle parenthesis.
diff --git a/src/sheet-style.c b/src/sheet-style.c
index 786956d..fda1725 100644
--- a/src/sheet-style.c
+++ b/src/sheet-style.c
@@ -2700,7 +2700,7 @@ cell_tile_optimize (CellTile **tile, int level, CellTileOptimize *data,
}
}
if (csame && rsame) {
- res = cell_tile_style_new ((*tile)->ptr_matrix.ptr[0]->style_simple.style[0], type);
+ res = cell_tile_style_new ((*tile)->ptr_matrix.ptr[0]->style_simple.style[0], TILE_SIMPLE);
} else if (csame) {
res = cell_tile_style_new (NULL, TILE_COL);
for (i = 0; i < TILE_SIZE_COL; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]