mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13705 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cc6336c61b
commit
a386888b76
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ void HexView::SetCursor(uint64 _cursor)
|
|||
if(cursor < sc) {
|
||||
sc = cursor;
|
||||
}
|
||||
if(sc > q)
|
||||
if(sc > (uint64)q)
|
||||
sc = (sc - q) / columns * columns + q;
|
||||
if(sc >= total)
|
||||
sc = total - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue