From a8a89d1961998a0dffbafbec3de90774933ca515 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Fri, 30 Dec 2016 18:10:37 -0600 Subject: Whitespace cleanup Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd --- gui/input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/input.cpp') diff --git a/gui/input.cpp b/gui/input.cpp index ec370abe5..8dd981c24 100644 --- a/gui/input.cpp +++ b/gui/input.cpp @@ -236,7 +236,7 @@ void GUIInput::HandleCursorByTouch(int x) { unsigned index = 0, displaySize = displayValue.size(); int prevX = mRenderX + scrollingX; - for(index = 0; index <= displaySize; index++) { + for (index = 0; index <= displaySize; index++) { cursorString = displayValue.substr(0, index); cursorX = gr_ttf_measureEx(cursorString.c_str(), fontResource) + mRenderX + scrollingX; if (cursorX > x) { @@ -263,7 +263,7 @@ void GUIInput::HandleCursorByTouch(int x) { } void GUIInput::HandleCursorByText() { -// Uses mCursorLocation to find cursorX +// Uses mCursorLocation to find cursorX if (!DrawCursor) return; -- cgit v1.2.3