[gnumeric] Fixed indentation in cell format dialog. [#683576]



commit a1af1d5673473e9754fad1426ac3bd252fc328f5
Author: Jean Brefort <jean brefort normalesup org>
Date:   Fri Sep 7 15:59:11 2012 +0200

    Fixed indentation in cell format dialog. [#683576]

 NEWS                             |    3 +++
 src/dialogs/ChangeLog            |    5 +++++
 src/dialogs/dialog-cell-format.c |    2 +-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index dd8d629..ac669e3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 Gnumeric 1.11.7
 
+Jean:
+	* Fixed indentation in cell format dialog. [#683576]
+
 --------------------------------------------------------------------------
 Gnumeric 1.11.6
 
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 08457fc..813579f 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-07  Jean Brefort  <jean brefort normalesup org>
+
+	* dialog-cell-format.c (fmt_dialog_init_align_page): fixed indentation.
+	[#683576]
+
 2012-09-06  Morten Welinder <terra gnome org>
 
 	* Release 1.11.6
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index c7d78c8..149cfef 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -657,7 +657,7 @@ fmt_dialog_init_align_page (FormatState *state)
 			  "toggled",
 			  G_CALLBACK (cb_align_wrap_toggle), state);
 
-	if (0 == (state->conflicts & (1 << MSTYLE_INDENT)) ||
+	if (0 != (state->conflicts & (1 << MSTYLE_INDENT)) ||
 	    (h != GNM_HALIGN_LEFT && h != GNM_HALIGN_RIGHT))
 		state->align.indent = 0;
 	else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]