aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index 073a62692..f24164636 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -906,7 +906,7 @@ void PositionCache::MeasureWidths(Surface *surface, const ViewStyle &vstyle, uns
if (vstyle.styles[styleNumber].monospaceASCII) {
if (AllGraphicASCII(sv)) {
for (size_t i = 0; i < sv.length(); i++) {
- positions[i] = vstyle.styles[styleNumber].aveCharWidth * (i+1);
+ positions[i] = vstyle.styles[styleNumber].monospaceCharacterWidth * (i+1);
}
return;
}