Skip to content

Commit

Permalink
Removing potential race condition with WP image loading threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyr59h authored and maxme committed Apr 30, 2015
1 parent 9ceea72 commit 9f204b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public int getStartPosition() {
}

public int getEndPosition() {
return mEndPosition < mStartPosition ? mStartPosition : mEndPosition;
return mEndPosition < getStartPosition() ? getStartPosition() : mEndPosition;
}

public MediaFile getMediaFile() {
Expand Down

0 comments on commit 9f204b8

Please sign in to comment.