From f3b24db7919e15689a534d3225f982f746cc9bd5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 30 Dec 2012 18:27:53 +1100 Subject: Fixed invalid octal number 0f. --- cocoa/ScintillaCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index fac9a0bc1..be8987083 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1523,7 +1523,7 @@ void ScintillaCocoa::SetVerticalScrollPos() // Convert absolute coordinate into the range [0..1]. Keep in mind that the visible area // does *not* belong to the scroll range. int maxScrollPos = MaxScrollPos(); - float relativePosition = (maxScrollPos > 0) ? ((float) topLine / maxScrollPos) : 0f; + float relativePosition = (maxScrollPos > 0) ? ((float) topLine / maxScrollPos) : 0.0f; [topContainer setVerticalScrollPosition: relativePosition]; } -- cgit v1.2.3