From 8b5f80ef9f4c98bf18f97e28c7747acb896a365e Mon Sep 17 00:00:00 2001 From: Roger Hu Date: Mon, 30 Dec 2013 18:53:51 +0000 Subject: Fix comment. It should be 'or' not 'of'. Change-Id: Ie713e1072cd145a493480221d93e400d6d406a0e --- core/jni/android/graphics/NinePatchImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/jni/android') diff --git a/core/jni/android/graphics/NinePatchImpl.cpp b/core/jni/android/graphics/NinePatchImpl.cpp index 01e7e3e..e9a1f2b 100644 --- a/core/jni/android/graphics/NinePatchImpl.cpp +++ b/core/jni/android/graphics/NinePatchImpl.cpp @@ -211,7 +211,7 @@ void NinePatch_Draw(SkCanvas* canvas, const SkRect& bounds, src.fTop = 0; dst.fTop = bounds.fTop; // The first row always starts with the top being at y=0 and the bottom - // being either yDivs[1] (if yDivs[0]=0) of yDivs[0]. In the former case + // being either yDivs[1] (if yDivs[0]=0) or yDivs[0]. In the former case // the first row is stretchable along the Y axis, otherwise it is fixed. // The last row always ends with the bottom being bitmap.height and the top // being either yDivs[numYDivs-2] (if yDivs[numYDivs-1]=bitmap.height) or -- cgit v1.1