mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 20:57:18 +01:00
Also avoid maybe uninitialized warning.
This commit is contained in:
parent
37fdc4938f
commit
88bc492eb1
@ -59,6 +59,9 @@ String MarkdownRenderer::render_to_html(const String &markdown) {
|
||||
case RENDER_TYPE_HTML_TOC: {
|
||||
renderer = hoedown_html_toc_renderer_new(_toc_level);
|
||||
} break;
|
||||
default: {
|
||||
renderer = hoedown_html_renderer_new(static_cast<hoedown_html_flags>(_html_flags), _toc_level);
|
||||
} break;
|
||||
}
|
||||
|
||||
int hoedown_ext_flags = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user