Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2021-06-18 19:21:51 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-06-18 19:22:52 +0300
commitf7022fc73f04011efd1d3ab633d76a030d03b332 (patch)
tree2dcbffaac9c448b3dae6791028f9e5a544f42c40 /source/blender/editors/interface
parent8a048593cafe714489cdd9d56964a941a3624b65 (diff)
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 aee04d496035 Differential Revision: https://developer.blender.org/D11641
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface_widgets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 4f24911b8f2..ce1109ad9df 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -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,