diff options
author | corvid <corvid@lavabit.com> | 2009-09-03 18:15:03 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-09-03 18:15:03 +0000 |
commit | 1428b404564a2d36e7726849981929d3f28fe0fb (patch) | |
tree | 15ff1f6e68f977e2247447ce99f3080fb59988b9 /dw/listitem.cc | |
parent | 5231f9206c6c31ae0d53a5c52d6bb75d3d3b3a9e (diff) |
always use getRef for Words and Lines
Diffstat (limited to 'dw/listitem.cc')
-rw-r--r-- | dw/listitem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/listitem.cc b/dw/listitem.cc index 338f8486..a4c58074 100644 --- a/dw/listitem.cc +++ b/dw/listitem.cc @@ -57,7 +57,7 @@ int ListItem::getValue () if (words->size () == 0) return 0; else - return words->get(0).size.width + words->get(0).origSpace; + return words->getRef(0)->size.width + words->getRef(0)->origSpace; } void ListItem::setMaxValue (int maxValue, int value) |