mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #2607] [MERGED] CommonHostInterface: Fix broken word wrap in DrawOSDMessages #1114
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/2607
Author: @CookiePLMonster
Created: 9/13/2021
Status: ✅ Merged
Merged: 9/15/2021
Merged by: @stenzek
Base:
master← Head:osd-paths-fix📝 Commits (1)
4fb39b6CommonHostInterface: Fix broken word wrap in DrawOSDMessages📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
src/frontend-common/common_host_interface.cpp(+2 -2)📄 Description
Fixes a regression introduced in
e6ea6358a0where long OSD messages did not calculate the rect size with word wrap in mind, but they tried to draw with wrap, resulting in messages cut off like so:Now word wrap works as expected again:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.