This commit is contained in:
Lendemor 2016-12-07 16:10:58 +01:00
commit 477ab44e8c

View File

@ -29,7 +29,7 @@ void TextBuffer::moveCursorLeft()
void TextBuffer::moveCursorRight() void TextBuffer::moveCursorRight()
{ {
if (cursor < buffer.size()) cursor++; if (cursor < int(buffer.size())) cursor++;
} }
std::string TextBuffer::getText() const std::string TextBuffer::getText() const