changeset 7109:f17653883d59

[Acessibility] Fixing mistake (testing code) released accidentally with RT-36985
author Felipe Heidrich <felipe.heidrich@oracle.com>
date Thu, 22 May 2014 08:50:09 -0700
parents 6ae997057419
children 90605ca72ec6
files modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java	Thu May 22 17:19:09 2014 +0200
+++ b/modules/graphics/src/main/java/com/sun/glass/ui/win/WinTextRangeProvider.java	Thu May 22 08:50:09 2014 -0700
@@ -307,7 +307,7 @@
         String text = (String)getAttribute(TITLE);
         if (text == null) return null;
         int length = text.length();
-        if (length == 0) return null;
+
         /* Narrator will not focus an empty text control if the bounds are NULL */
         if (length == 0) return new double[0];
         int endOffset = end;