XML update

This commit is contained in:
Glenn Maynard
2006-10-02 22:52:57 +00:00
parent 65d23319f1
commit 83defce27b
7 changed files with 23 additions and 22 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void TitleTrans::LoadFromNode( const XNode* pNode )
/* Surround each regex with ^(...)$, to force all comparisons to default
* to being a full-line match. (Add ".*" manually if this isn't wanted.) */
const RString &sKeyName = attr->first;
const RString &sValue = attr->second;
const RString &sValue = attr->second.GetValue<RString>();
if( sKeyName == "DontTransliterate" ) translit = false;
else if( sKeyName == "TitleFrom" ) TitleFrom = "^(" + sValue + ")$";
else if( sKeyName == "ArtistFrom" ) ArtistFrom = "^(" + sValue + ")$";