Fix Build Warning

Removal of unused local variable. Calculation of underline thickness
no longer needed with change to text output of underscore character.

Introduced in aee04d4960

Differential Revision: https://developer.blender.org/D11641
This commit is contained in:
Harley Acheson 2021-06-18 09:21:51 -07:00
parent 8a048593ca
commit f7022fc73f
Notes: blender-bot 2023-02-14 06:23:08 +01:00
Referenced by issue #89246, Underline Shortcut Keys no longer appear on Save changes before Closing? menu
1 changed files with 0 additions and 1 deletions

View File

@ -2208,7 +2208,6 @@ static void widget_draw_text(const uiFontStyle *fstyle,
}
int ul_width = round_fl_to_int(BLF_width(fstyle->uifont_id, "_", 2));
int ul_height = max_ii(fstyle->points * U.dpi_fac * 0.1f, U.pixelsize);
struct UnderlineData ul_data = {
.str_offset = ul_index,