Commit 937252e8 authored by Alexei Podtelezhnikov's avatar Alexei Podtelezhnikov
Browse files

* src/ftmulti.c (main): Fix crash.

parent ab1788c5
2021-01-12 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/ftmulti.c (main): Fix crash.
2021-01-11 Alexei Podtelezhnikov <apodtele@gmail.com> 2021-01-11 Alexei Podtelezhnikov <apodtele@gmail.com>
[graph] Do not preset blending cache. [graph] Do not preset blending cache.
......
...@@ -1167,6 +1167,9 @@ ...@@ -1167,6 +1167,9 @@
Clear_Display(); Clear_Display();
strbuf_init( header, Header, sizeof ( Header ) );
strbuf_reset( header );
if ( file_loaded >= 1 ) if ( file_loaded >= 1 )
{ {
switch ( render_mode ) switch ( render_mode )
...@@ -1179,9 +1182,6 @@ ...@@ -1179,9 +1182,6 @@
Render_All( (unsigned int)Num, ptsize ); Render_All( (unsigned int)Num, ptsize );
} }
strbuf_init( header, Header, sizeof ( Header ) );
strbuf_reset( header );
strbuf_format( header, "%.50s %.50s (file %.100s)", strbuf_format( header, "%.50s %.50s (file %.100s)",
face->family_name, face->family_name,
face->style_name, face->style_name,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment