Skip to content

Commit 21d1ddb

Browse files
committed
Made some warning messages less wordy
1 parent a463c1c commit 21d1ddb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/xml_load_world.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ LONGLONG iCounterFrequency = large_int_frequency.QuadPart;
567567
void CMUSHclientDoc::LoadError (const char * sType, const char * sMessage, UINT iLine)
568568
{
569569

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

573573
ColourNote (SCRIPTERRORFORECOLOUR, SCRIPTERRORBACKCOLOUR, strTitle);
@@ -694,7 +694,7 @@ POSITION lpos;
694694
}
695695
catch (CException* e)
696696
{
697-
HandleLoadException ("include file not loaded", e);
697+
HandleLoadException ("Not loaded", e);
698698
} // end of catch
699699

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

789789
m_strCurrentIncludeFileList.AddTail (strFileName);
@@ -817,7 +817,7 @@ bool bPlugin;
817817
catch (CArchiveException* e)
818818
{
819819
e->Delete ();
820-
ThrowErrorException ("Error processing include file \"%s\"",
820+
ThrowErrorException ("Error in file \"%s\"",
821821
(LPCTSTR) strFileName);
822822
} // end of catch
823823

0 commit comments

Comments
 (0)