mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-05 21:55:24 +00:00
Fix compile issues on Unix
This commit is contained in:
parent
b3491d1113
commit
d55071d228
@ -104,7 +104,8 @@ static inline void DrawCursor(IInput* input) {
|
||||
wtimeout(content, IDLE_TIMEOUT_MS);
|
||||
int currentX = 0, currentY = 0;
|
||||
getyx(content, currentY, currentX);
|
||||
int const targetY = 0, const targetX = (int) input->Position();
|
||||
const int targetY = 0;
|
||||
const int targetX = (int) input->Position();
|
||||
if (currentX != targetX || currentY != targetY) {
|
||||
wmove(content, targetY, targetX);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user