Skip to content

Commit

Permalink
Added list of custom fonts to output of Debug 'summary' function
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jun 26, 2014
1 parent 8edf524 commit feb3973
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions world_debug.cpp
Expand Up @@ -1583,6 +1583,15 @@ VARIANT CMUSHclientDoc::Debug(LPCTSTR Command)
m_LineList.GetCount (),
m_maxlines));

if (m_strSpecialFontName.size ())
{
ColourNote (SCRIPTERRORCONTEXTFORECOLOUR, "", "-- Custom fonts loaded --");
for (ci_set::const_iterator font_it = m_strSpecialFontName.begin ();
font_it != m_strSpecialFontName.end ();
font_it++)
Note (font_it->c_str ());
} // end of for each custom font

ColourNote (SCRIPTERRORCONTEXTFORECOLOUR, "", "-- Miscellaneous --");

// logging?
Expand Down

0 comments on commit feb3973

Please sign in to comment.