diff options
| author | 2013-12-30 18:53:51 +0000 | |
|---|---|---|
| committer | 2013-12-30 18:54:35 +0000 | |
| commit | 8b5f80ef9f4c98bf18f97e28c7747acb896a365e (patch) | |
| tree | dc962e9ebe4e973472ee6293e2eea290ba980db4 | |
| parent | cccf2a333793badbcea9b04fe3f29447496a56d9 (diff) | |
Fix comment. It should be 'or' not 'of'.
Change-Id: Ie713e1072cd145a493480221d93e400d6d406a0e
| -rw-r--r-- | core/jni/android/graphics/NinePatchImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/NinePatchImpl.cpp b/core/jni/android/graphics/NinePatchImpl.cpp index 01e7e3e0eb6a..e9a1f2bb19af 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 |