diff --git a/src/font.cpp b/src/font.cpp index 0b90ef83b18..fc42e29e28d 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -78,7 +78,7 @@ std::vector split_text(wide_string text) wide_string current_chunk; std::vector res; bool first = true; - int current_font; + int current_font = 0; for(wide_string::const_iterator itor = text.begin(); itor != text.end(); ++itor) {