patch.diff

molator, 03/09/2012 12:53 pm

Download (688 Bytes)

b/code/ryzom/client/src/login.cpp Fri Mar 09 12:50:46 2012 +0100
1789 1789
		installTag = CSystemUtils::getRegKey(KeyName);
1790 1790

  
1791 1791
		if (installTag.length() > 1)
1792 1792
		{
1793 1793
			nldebug("Found install tag '%s'", url.c_str());
1794 1794
		}
1795 1795
		else
1796 1796
		{
1797
			DWORD ret = 0;
1797 1798
			LPVOID lpMsgBuf;
1798 1799
			FormatMessage(
1799 1800
				FORMAT_MESSAGE_ALLOCATE_BUFFER |
1800 1801
				FORMAT_MESSAGE_FROM_SYSTEM |
1801 1802
				FORMAT_MESSAGE_IGNORE_INSERTS,
1802 1803
				NULL,
1803 1804
				ret,
1804 1805
				MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language