[gnumeric] add some comments to cell_calc_layout re bug #662368
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] add some comments to cell_calc_layout re bug #662368
- Date: Fri, 21 Oct 2011 18:25:09 +0000 (UTC)
commit df94a2211bcca0e3fdf3a352d3ce5ba3b7e0766a
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Fri Oct 21 12:24:24 2011 -0600
add some comments to cell_calc_layout re bug #662368
src/cell-draw.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/cell-draw.c b/src/cell-draw.c
index d9c6f64..5ca2396 100644
--- a/src/cell-draw.c
+++ b/src/cell-draw.c
@@ -189,6 +189,10 @@ cell_calc_layout (G_GNUC_UNUSED GnmCell const *cell, GnmRenderedValue *rv, int y
}
}
+ /* Note that Excel always truncates the cell content only at the */
+ /* bottom even if the request is to align it at the bottom or to */
+ /* center it. We do the same for compatibilities sake. Also see */
+ /* bug #662368 */
switch (rv->effective_valign) {
#ifndef DEBUG_SWITCH_ENUM
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]