diff --git a/client/src/main.c b/client/src/main.c index 8109ad1e..c543e62b 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -432,7 +432,7 @@ int main_cursorThread(void * unused) g_state.state = APP_STATE_SHUTDOWN; break; } - cursorSize = msg.size; + cursorSize = neededSize; } memcpy(cursor, msg.mem, neededSize);