mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 13:02:35 +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);
|
wtimeout(content, IDLE_TIMEOUT_MS);
|
||||||
int currentX = 0, currentY = 0;
|
int currentX = 0, currentY = 0;
|
||||||
getyx(content, currentY, currentX);
|
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) {
|
if (currentX != targetX || currentY != targetY) {
|
||||||
wmove(content, targetY, targetX);
|
wmove(content, targetY, targetX);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user