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:
356ffb1
)
fix HexConfig::charWidth
author
suma
<devnull@localhost>
Wed, 11 Feb 2009 04:38:25 +0000
(13:38 +0900)
committer
suma
<devnull@localhost>
Wed, 11 Feb 2009 04:38:25 +0000
(13:38 +0900)
src/control/standard/hexview.h
patch
|
blob
|
history
diff --git
a/src/control/standard/hexview.h
b/src/control/standard/hexview.h
index
747180b
..
5a21781
100644
(file)
--- a/
src/control/standard/hexview.h
+++ b/
src/control/standard/hexview.h
@@
-40,7
+40,7
@@
namespace Standard {
}
inline int charWidth(int num = 1) const
{
- return FontMetrics.
maxWidth(
) * num;
+ return FontMetrics.
width(QChar('A')
) * num;
}
inline int charHeight() const
{