Fix Linux build

Wed, 06 Dec 2017 17:15:16 +0100

author
Ansariel
date
Wed, 06 Dec 2017 17:15:16 +0100
changeset 53552
87c50836d294
parent 53551
e1eaaa165f25
child 53553
6ab387a6b37f

Fix Linux build

indra/newview/fsdata.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/fsdata.cpp	Tue Dec 05 17:54:17 2017 +0200
     1.2 +++ b/indra/newview/fsdata.cpp	Wed Dec 06 17:15:16 2017 +0100
     1.3 @@ -392,7 +392,7 @@
     1.4  	// Set Message Of The Day if present 
     1.5  	if (fs_data.has("MOTD") && !fs_data["MOTD"].asString().empty())
     1.6  	{
     1.7 -		mSecondLifeMOTD = fs_data["MOTD"];
     1.8 +		mSecondLifeMOTD = fs_data["MOTD"].asString();
     1.9  		gAgent.mMOTD.assign(mSecondLifeMOTD);
    1.10  	}
    1.11  	else if (fs_data.has("RandomMOTD") && fs_data["RandomMOTD"].isArray() && fs_data["RandomMOTD"].size() > 0) // only used if MOTD is not present or empty in the xml file.

mercurial