Skip to content

Commit

Permalink
Merge pull request #8 from intrications/patch-1
Browse files Browse the repository at this point in the history
Fix spelling mistake
  • Loading branch information
johnkil committed Mar 31, 2013
2 parents 5f5667d + e0caaf3 commit f1021b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/devspark/robototextview/widget/RobotoTextView.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void parseAttributes(Context context, AttributeSet attrs) {
int typefaceValue = values.getInt(R.styleable.RobotoTextView_typeface, 0);
values.recycle();

setTypeface(obtaintTypeface(context, typefaceValue));
setTypeface(obtainTypeface(context, typefaceValue));
}

/**
Expand All @@ -138,7 +138,7 @@ private void parseAttributes(Context context, AttributeSet attrs) {
* @return Roboto {@link Typeface}
* @throws IllegalArgumentException if unknown `typeface` attribute value.
*/
private Typeface obtaintTypeface(Context context, int typefaceValue) throws IllegalArgumentException {
private Typeface obtainTypeface(Context context, int typefaceValue) throws IllegalArgumentException {
Typeface typeface = mTypefaces.get(typefaceValue);
if (typeface == null) {
typeface = createTypeface(context, typefaceValue);
Expand Down

0 comments on commit f1021b4

Please sign in to comment.