aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r--gui/ListWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index 22d68c74d1..4607698447 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -231,7 +231,7 @@ void ListWidget::drawWidget(bool hilite)
buffer += _list[pos];
- gui->drawString(buffer, _x+5, _y+2 + LINE_HEIGHT * i, _w - 10,
+ gui->drawString(buffer.c_str(), _x+5, _y+2 + LINE_HEIGHT * i, _w - 10,
(_selectedItem == pos && _hasFocus) ? gui->_textcolorhi : gui->_textcolor);
}
}