Skip to content

Commit

Permalink
Merge pull request #94 from niklasf/fix/missing-field-initializers
Browse files Browse the repository at this point in the history
fix: avoid -Wmissing-field-initializers in lvgl output
  • Loading branch information
kisvegabor authored Oct 24, 2023
2 parents f926f5b + 60c8fd6 commit 5c7887c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/writers/lvgl/lv_table_head.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ lv_font_t ${f.font_name} = {
.underline_position = ${f.src.underlinePosition},
.underline_thickness = ${f.src.underlineThickness},
#endif
.dsc = &font_dsc /*The custom font data. Will be accessed by \`get_glyph_bitmap/dsc\` */
.dsc = &font_dsc, /*The custom font data. Will be accessed by \`get_glyph_bitmap/dsc\` */
.fallback = NULL,
.user_data = NULL
};
`.trim();
}
Expand Down

0 comments on commit 5c7887c

Please sign in to comment.