Skip to content

Commit

Permalink
Made some warning messages less wordy
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jul 22, 2010
1 parent a463c1c commit 21d1ddb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xml/xml_load_world.cpp
Expand Up @@ -567,7 +567,7 @@ LONGLONG iCounterFrequency = large_int_frequency.QuadPart;
void CMUSHclientDoc::LoadError (const char * sType, const char * sMessage, UINT iLine)
{

CString strTitle = "XML import warnings - ";
CString strTitle = "[WARNING] ";
strTitle += strFileName;

ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, strTitle);
Expand Down Expand Up @@ -694,7 +694,7 @@ POSITION lpos;
}
catch (CException* e)
{
HandleLoadException ("include file not loaded", e);
HandleLoadException ("Not loaded", e);
} // end of catch

CheckUsed (*pIncludeElement);
Expand Down Expand Up @@ -783,7 +783,7 @@ bool bPlugin;
{
// don't include it twice
if (m_strCurrentIncludeFileList.Find (strFileName))
ThrowErrorException ("Include file \"%s\" has already been included.",
ThrowErrorException ("File \"%s\" has already been included.",
(LPCTSTR) strFileName);

m_strCurrentIncludeFileList.AddTail (strFileName);
Expand Down Expand Up @@ -817,7 +817,7 @@ bool bPlugin;
catch (CArchiveException* e)
{
e->Delete ();
ThrowErrorException ("Error processing include file \"%s\"",
ThrowErrorException ("Error in file \"%s\"",
(LPCTSTR) strFileName);
} // end of catch

Expand Down

0 comments on commit 21d1ddb

Please sign in to comment.