We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8786fed commit 4ace866Copy full SHA for 4ace866
WordPressUtils/src/main/java/org/wordpress/android/util/helpers/WPImageSpan.java
@@ -41,7 +41,7 @@ public int getStartPosition() {
41
}
42
43
public int getEndPosition() {
44
- return mEndPosition < mStartPosition ? mStartPosition : mEndPosition;
+ return mEndPosition < getStartPosition() ? getStartPosition() : mEndPosition;
45
46
47
public MediaFile getMediaFile() {
0 commit comments