Title: [167642] trunk/Source/WebCore
Revision
167642
Author
[email protected]
Date
2014-04-21 18:48:21 -0700 (Mon, 21 Apr 2014)

Log Message

Followup from http://trac.webkit.org/changeset/167624

Reviewed by Darin Adler.

Fixing incorrect use of ? : syntax.

* editing/VisibleUnits.cpp:
(WebCore::characterBeforePosition):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (167641 => 167642)


--- trunk/Source/WebCore/ChangeLog	2014-04-22 01:37:34 UTC (rev 167641)
+++ trunk/Source/WebCore/ChangeLog	2014-04-22 01:48:21 UTC (rev 167642)
@@ -1,3 +1,14 @@
+2014-04-21  Enrica Casucci  <[email protected]>
+
+        Followup from http://trac.webkit.org/changeset/167624
+
+        Reviewed by Darin Adler.
+
+        Fixing incorrect use of ? : syntax.
+
+        * editing/VisibleUnits.cpp:
+        (WebCore::characterBeforePosition):
+
 2014-04-21  Ryuan Choi  <[email protected]>
 
         Move CoordinatedGraphics related codes out of CMakeLists.txt

Modified: trunk/Source/WebCore/editing/VisibleUnits.cpp (167641 => 167642)


--- trunk/Source/WebCore/editing/VisibleUnits.cpp	2014-04-22 01:37:34 UTC (rev 167641)
+++ trunk/Source/WebCore/editing/VisibleUnits.cpp	2014-04-22 01:48:21 UTC (rev 167642)
@@ -1830,7 +1830,7 @@
         if (U16_IS_LEAD(lead) && U16_IS_TRAIL(trail))
             return U16_GET_SUPPLEMENTARY(lead, trail);
     }
-    return characterString[0] != noBreakSpace ? : ' ';
+    return characterString[0] != noBreakSpace ? characterString[0] : ' ';
 }
 
 PassRefPtr<Range> wordRangeFromPosition(const VisiblePosition& position)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to