File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,9 @@ void bagl_draw_with_context(const bagl_component_t *component,
731
731
int halignment = 0 ;
732
732
int valignment = 0 ;
733
733
int baseline = 0 ;
734
+ #ifndef DISPLAY_FLOWS
734
735
unsigned int height_to_draw = 0 ;
736
+ #endif
735
737
int strwidth = 0 ;
736
738
unsigned int ellipsis_1_len = 0 ;
737
739
#ifdef HAVE_BAGL_ELLIPSIS
@@ -781,8 +783,9 @@ void bagl_draw_with_context(const bagl_component_t *component,
781
783
const bagl_font_t * font = bagl_get_font (component -> font_id );
782
784
if (font ) {
783
785
baseline = font -> baseline ;
786
+ #ifndef DISPLAY_FLOWS
784
787
height_to_draw = component -> height ;
785
-
788
+ #endif
786
789
if (context && context_length ) {
787
790
// compute with some margin to fit other characters and check if ellipsis algorithm
788
791
// is required
You can’t perform that action at this time.
0 commit comments