Commit fb36b8d6 authored by Jan Möbius's avatar Jan Möbius

Fixed error

parent 69ba56d8
......@@ -435,7 +435,7 @@ updateVBO() {
QFontMetricsF metric(qfont_);
qreal avgWidth = metric.averageCharWidth();
const int height = nearestPowerOfTwo(metric.height());
const float lastCharRight = 0.0f;
float lastCharRight = 0.0f;
for (unsigned int i = 0; i < text_.size(); ++i) {
// left and right vertex coordinates
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment