From b7cad72754418fa96aa20cb1827215e931e94ad5 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Fri, 23 Oct 2020 12:15:18 +0200 Subject: [PATCH] Fix unused variable --- editor/src/editor/GUIPiano.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/editor/GUIPiano.cpp b/editor/src/editor/GUIPiano.cpp index dd7d6cf5..2c17ddc4 100644 --- a/editor/src/editor/GUIPiano.cpp +++ b/editor/src/editor/GUIPiano.cpp @@ -92,7 +92,7 @@ void SPiano::draw(CDrawContext* dc) CRect textRect( rect.left, dim.labelBounds.top, rect.right, dim.labelBounds.bottom); - dc->setFont(font_); + dc->setFont(font); dc->setFontColor(labelStroke_); std::string text = std::to_string(static_cast(o) - 1); dc->drawString(text.c_str(), textRect, kCenterText);