Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jul 19, 2010
1 parent 5f43982 commit b85d41a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions globalregistryoptions.cpp
Expand Up @@ -267,8 +267,6 @@ void CMUSHclientApp::SaveGlobalsToDatabase (void)

db_rc = db_write_string ("prefs", AlphaGlobalOptionsTable [i].pName, (LPCTSTR) strValue);

strValue.Replace ("'", "''"); // fix up quotes

if (db_rc != SQLITE_OK)
break;

Expand Down
2 changes: 1 addition & 1 deletion xml/xml_load_world.cpp
Expand Up @@ -2323,7 +2323,7 @@ void CMUSHclientDoc::Load_Plugin_XML (CXMLelement & parent)
{
CPlugin * p = m_PluginList.GetNext (pos);
if (m_CurrentPlugin->m_strID == p->m_strID)
ThrowErrorException ("A plugin with this plugin ID is already loaded.");
ThrowErrorException ("The plugin '%s' is already loaded.", p->m_strName);
} // end of looping through each plugins

// check language
Expand Down

0 comments on commit b85d41a

Please sign in to comment.