[java-atk-wrapper] JNI: improve formatting of jawtext



commit f4db2a6ac4f1e0a2d129223d26fd438d23e3ae30
Author: Magdalen Berns <m berns thismagpie com>
Date:   Fri Feb 20 15:43:17 2015 +0000

    JNI: improve formatting of jawtext

 jni/src/jawtext.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/jni/src/jawtext.c b/jni/src/jawtext.c
index 1f28a77..b7da5c3 100644
--- a/jni/src/jawtext.c
+++ b/jni/src/jawtext.c
@@ -273,8 +273,9 @@ jaw_text_get_text_after_offset (AtkText *text,
 
 static gchar*
 jaw_text_get_text_at_offset (AtkText *text,
-               gint offset, AtkTextBoundary boundary_type,
-               gint *start_offset, gint *end_offset)
+                             gint offset,
+                             AtkTextBoundary boundary_type,
+                             gint *start_offset, gint *end_offset)
 {
   JawObject *jaw_obj = JAW_OBJECT(text);
   TextData *data = jaw_object_get_interface_data(jaw_obj, INTERFACE_TEXT);
@@ -425,7 +426,7 @@ jaw_text_get_character_extents (AtkText *text,
   }
 
   jaw_util_get_rect_info(jniEnv, jrect, x, y, width, height);
-  }
+}
 
 static gint
 jaw_text_get_character_count (AtkText *text)


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