1
0
Fork 0

Fix: Crash if interface scale or font size changes with chat box present.

Caused by the chat box being undrawn with the new dimensions, leading to out-of-bounding memory access.
pull/12705/head
Peter Nelson 2024-05-20 21:52:23 +01:00
parent 28e814f62a
commit 5eaeea1e49
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 0 deletions

View File

@ -3330,6 +3330,7 @@ void ReInitAllWindows(bool zoom_changed)
ReInitWindow(w, zoom_changed);
}
if (_networking) NetworkUndrawChatMessage();
NetworkReInitChatBoxSize();
/* Make sure essential parts of all windows are visible */