OSDN Git Service
(root)
/
pheasant
/
hexedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d6f56
)
fix comment at hexview.cpp
author
suma
<suma@users.sourceforge.jp>
Thu, 21 May 2009 01:22:31 +0000
(10:22 +0900)
committer
suma
<suma@users.sourceforge.jp>
Thu, 21 May 2009 01:22:31 +0000
(10:22 +0900)
src/control/standard/hexview.cpp
patch
|
blob
|
history
diff --git
a/src/control/standard/hexview.cpp
b/src/control/standard/hexview.cpp
index
426ade5
..
e1bc417
100644
(file)
--- a/
src/control/standard/hexview.cpp
+++ b/
src/control/standard/hexview.cpp
@@
-312,7
+312,7
@@
void HexView::drawCaret(bool visible, quint64 pos)
painter.begin(&pix_);
painter.setFont(config_.Font);
- // Get caret coordinates
+ // Get caret coordinates
const int x = pos % HexConfig::Num;
const int y = config_.top() + config_.byteHeight() * (pos / HexConfig::Num - cursor_->Top);