Skip to content

Commit

Permalink
issue #1731
Browse files Browse the repository at this point in the history
  • Loading branch information
olikraus committed Dec 20, 2021
1 parent 37f32b1 commit 61c71b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion csrc/u8g2_font.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,8 @@ static void u8g2_GetGlyphHorizontalProperties(u8g2_t *u8g2, uint16_t requested_e
int8_t u8g2_GetStrX(u8g2_t *u8g2, const char *s)
{
uint8_t w;
int8_t ox, dx;
int8_t dx;
int8_t ox = 0;
u8g2_GetGlyphHorizontalProperties(u8g2, *s, &w, &ox, &dx);
return ox;
}
Expand Down

0 comments on commit 61c71b2

Please sign in to comment.