Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/widget.cpp b/src/widget.cpp
index 9c9868988c..0c79f67f1b 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -490,10 +490,8 @@ static inline void DrawLabel(const Rect &r, WidgetType type, bool clicked, TextC
{
if (str == STR_NULL) return;
if ((type & WWT_MASK) == WWT_TEXTBTN_2 && clicked) str++;
- Dimension d = GetStringBoundingBox(str);
- Point p = GetAlignedPosition(r, d, align);
@PeterN
PeterN / gist:791be1bb94d58295f7949189ff5bc415
Last active November 19, 2022 23:25
Fediverse Blocklist
bae.st
baraag.net
brighteon.social
cawfee.club
chudbuds.lol
club.darknight-coffee.eu
comfyboy.club
daishouri.moe
detroitriotcity.com
freeatlantis.com