summaryrefslogtreecommitdiffstats
path: root/gui/text.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2017-01-06 21:30:33 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 17:50:05 +0100
commit23d8aaef2964659bd5495638d5b85f00ef3f9620 (patch)
treeaab3c7f695b11213a4e7f6838d2829f2c20c5252 /gui/text.cpp
parentVery minor code cleanup (diff)
downloadandroid_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar.gz
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar.bz2
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar.lz
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar.xz
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.tar.zst
android_bootable_recovery-23d8aaef2964659bd5495638d5b85f00ef3f9620.zip
Diffstat (limited to 'gui/text.cpp')
-rw-r--r--gui/text.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/text.cpp b/gui/text.cpp
index 49e27a104..61940ff9f 100644
--- a/gui/text.cpp
+++ b/gui/text.cpp
@@ -114,9 +114,6 @@ int GUIText::Render(void)
mVarChanged = 0;
- int x = mRenderX, y = mRenderY;
- int width = gr_ttf_measureEx(mLastValue.c_str(), fontResource);
-
if (isHighlighted)
gr_color(mHighlightColor.red, mHighlightColor.green, mHighlightColor.blue, mHighlightColor.alpha);
else