Jump to content

Bug in gdisp.c when text wrapping turned on


king2

Recommended Posts

I tried to turn on text wrapping in uGFX and got text looking weird in some places.

After little research I found a bug in gdisp.c, it uses mf_fillline_callback in function gdispGDrawStringBox(), but it should use mf_drawline_callback instead.

I have changed callback name this way and now everything looks ok.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...