Adjust location of some braces for consistency

This is just a source formatting change.
This commit is contained in:
Scott Allen 2017-04-07 15:02:11 -04:00
parent cfb5e89d5c
commit 79f24c47cc
2 changed files with 10 additions and 6 deletions

View File

@ -177,7 +177,8 @@ bool Arduboy2Base::nextFrame()
return post_render; return post_render;
} }
bool Arduboy2Base::nextFrameDEV() { bool Arduboy2Base::nextFrameDEV()
{
bool ret = nextFrame(); bool ret = nextFrame();
if (ret) { if (ret) {
@ -1155,11 +1156,13 @@ void Arduboy2::setCursor(int16_t x, int16_t y)
cursor_y = y; cursor_y = y;
} }
int16_t Arduboy2::getCursorX() { int16_t Arduboy2::getCursorX()
{
return cursor_x; return cursor_x;
} }
int16_t Arduboy2::getCursorY() { int16_t Arduboy2::getCursorY()
{
return cursor_y; return cursor_y;
} }
@ -1184,7 +1187,8 @@ void Arduboy2::setTextWrap(bool w)
textWrap = w; textWrap = w;
} }
void Arduboy2::clear() { void Arduboy2::clear()
{
Arduboy2Base::clear(); Arduboy2Base::clear();
cursor_x = cursor_y = 0; cursor_x = cursor_y = 0;
} }