fixed little warning
This commit is contained in:
parent
d9fec5af18
commit
f353705e29
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user