Fix using undefined value bug.

This commit is contained in:
ArthurSonzogni 2019-07-01 00:43:00 +02:00
parent 01ab335919
commit 16ae64dfb4

View File

@ -62,8 +62,8 @@ class Screen {
Box stencil; Box stencil;
struct Cursor { struct Cursor {
int x; int x = 0;
int y; int y = 0;
}; };
Cursor cursor() const { return cursor_; } Cursor cursor() const { return cursor_; }
void SetCursor(Cursor cursor) { cursor_ = cursor; } void SetCursor(Cursor cursor) { cursor_ = cursor; }