Skip to content

Commit

Permalink
Merge pull request #971 from marcusnaslund/charbug
Browse files Browse the repository at this point in the history
Fixed bug in CString equals?()
  • Loading branch information
fasterthanlime committed Feb 1, 2016
2 parents 4de448a + 213d739 commit 44e0709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/lang/Character.ooc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ CString: cover from Char* {
equals?: func( other: This) -> Bool {
if (other == null) return false
l := length()
l2 := length()
l2 := other length()
if (l != l2) return false

for (i in 0..l) {
Expand Down

0 comments on commit 44e0709

Please sign in to comment.