Better test
This commit is contained in:
+1
-2
@@ -5,9 +5,8 @@ fun getMaxLineWidth(lineCount: Int): Float {
|
||||
var max_width = 0.0f
|
||||
<caret>for (i in 0..lineCount - 1) {
|
||||
val width = getLineWidth(i)
|
||||
if (width > max_width) {
|
||||
if (width > max_width)
|
||||
max_width = width
|
||||
}
|
||||
}
|
||||
return max_width
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user