Skip to content

Commit

Permalink
Fixed bug in CString equals?()
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusnaslund committed Feb 1, 2016
1 parent 4de448a commit 213d739
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 213d739

Please sign in to comment.