Comment 4 for bug 199285

Andrey Shytov (avshytov) wrote :

I have a different suggestion. I traced out the relevant variables and found that CurFontWidth fails because screen->visbuf pointer is trashed. I figured out how it got that way: in the handling of a (premature?) resize event, when screen->allbuf == NULL. The patch is enclosed.

However, I am not sure this patch is the way to go. May be, the very fact that ScreenResize is executed at this stage indicates another bug?