[atk] atktablecell: use content of the pointer instead of pointer itself



commit 381c3f2d67e1a0d751cba03b81e5d28b2e9b309a
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Thu Sep 24 17:07:21 2015 +0200

    atktablecell: use content of the pointer instead of pointer itself
    
    Fixes
    https://bugzilla.gnome.org/show_bug.cgi?id=755548

 atk/atktablecell.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/atk/atktablecell.c b/atk/atktablecell.c
index 9b1c349..1cec6fa 100644
--- a/atk/atktablecell.c
+++ b/atk/atktablecell.c
@@ -272,5 +272,6 @@ atk_table_cell_real_get_row_column_span (AtkTableCell *cell,
   atk_table_cell_get_position (cell, row, column);
   *row_span = atk_table_cell_get_row_span (cell);
   *column_span = atk_table_cell_get_column_span (cell);
-  return (row != 0 && column != 0 && row_span > 0 && column_span > 0);
+
+  return (*row != 0 && *column != 0 && *row_span > 0 && *column_span > 0);
 }


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