From 0d26a2a456d524f023c3f7624396cf44bc9fde9e Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 21 Apr 2015 18:07:41 +0200 Subject: [PATCH] Fixed compile when ENABLE_CPUFREQ is defined There was some code inside an #ifdef that was overlooked during refactoring. --- src/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu.cpp b/src/menu.cpp index 171109b..48b83ab 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -253,7 +253,7 @@ void Menu::paint(Surface &s) { LinkApp *linkApp = selLinkApp(); if (linkApp) { #ifdef ENABLE_CPUFREQ - s.write(&font, linkApp->clockStr(gmenu2x->confInt["maxClock"]), + font.write(s, linkApp->clockStr(gmenu2x->confInt["maxClock"]), gmenu2x->cpuX, gmenu2x->bottomBarTextY, Font::HAlignLeft, Font::VAlignMiddle); #endif