Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 323499 | Differences between
and this patch

Collapse All | Expand All

(-)Aquaria/UserSettings.cpp.orig (-2 / +2 lines)
Lines 273-279 Link Here
273
		TiXmlElement *xml2 = xml->FirstChildElement(elem);
273
		TiXmlElement *xml2 = xml->FirstChildElement(elem);
274
		if (xml2)
274
		if (xml2)
275
		{
275
		{
276
			const char *c = xml2->Attribute(att);
276
			const char *c = xml2->Attribute(att)->c_str();
277
			if (c)
277
			if (c)
278
			{
278
			{
279
				*toChange = atoi(c);
279
				*toChange = atoi(c);
Lines 286-292 Link Here
286
{
286
{
287
	if (xml)
287
	if (xml)
288
	{
288
	{
289
		const char *c = xml->Attribute(att);
289
		const char *c = xml->Attribute(att)->c_str();
290
		if (c)
290
		if (c)
291
		{
291
		{
292
			*toChange = atoi(c);
292
			*toChange = atoi(c);

Return to bug 323499