diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2012-12-30 18:27:53 +1100 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2012-12-30 18:27:53 +1100 |
commit | f3b24db7919e15689a534d3225f982f746cc9bd5 (patch) | |
tree | e2d3ba3085970f9904997bb9856a2188bd27c0ac | |
parent | b8794a4b06ebfa17fe78674a0a6731e328919104 (diff) | |
download | scintilla-mirror-f3b24db7919e15689a534d3225f982f746cc9bd5.tar.gz |
Fixed invalid octal number 0f.
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |