From 1d26bd892cb1f9dbeacd9538413601758a0051a2 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(-) (limited to 'cocoa') 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