aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/gal-a11y-e-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/gal-a11y-e-text.c')
-rw-r--r--widgets/text/gal-a11y-e-text.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/widgets/text/gal-a11y-e-text.c b/widgets/text/gal-a11y-e-text.c
index 113c503da9..6c6724ea6d 100644
--- a/widgets/text/gal-a11y-e-text.c
+++ b/widgets/text/gal-a11y-e-text.c
@@ -64,8 +64,8 @@ et_get_extents (AtkComponent *component,
AtkCoordType coord_type)
{
EText *item = E_TEXT (atk_gobject_accessible_get_object (ATK_GOBJECT_ACCESSIBLE (component)));
- double real_width;
- double real_height;
+ gdouble real_width;
+ gdouble real_height;
gint fake_width;
gint fake_height;
@@ -166,7 +166,7 @@ find_word_start (const gchar *text,
current = g_utf8_get_char_validated (at_offset, -1);
at_offset = g_utf8_offset_to_pointer (text, offset-1);
previous = g_utf8_get_char_validated (at_offset, -1);
- if ((! is_a_seperator (current)) && is_a_seperator (previous))
+ if ((!is_a_seperator (current)) && is_a_seperator (previous))
break;
offset += step;
}
@@ -192,7 +192,7 @@ find_word_end (const gchar *text,
current = g_utf8_get_char_validated (at_offset, -1);
at_offset = g_utf8_offset_to_pointer (text, offset-1);
previous = g_utf8_get_char_validated (at_offset, -1);
- if (is_a_seperator (current) && (! is_a_seperator (previous)))
+ if (is_a_seperator (current) && (!is_a_seperator (previous)))
break;
offset += step;
}