Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
raspu committed May 29, 2016
1 parent 61b7b9d commit f4ec94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/CodeAttributedString.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class CodeAttributedString : NSTextStorage

if let highlightDelegate = highlightDelegate
{
var shouldHighlight : Bool? = highlightDelegate.shouldHighlight?(range)
let shouldHighlight : Bool? = highlightDelegate.shouldHighlight?(range)
if(shouldHighlight != nil && !shouldHighlight!)
{
return;
Expand Down

0 comments on commit f4ec94a

Please sign in to comment.