Subversion Repositories spk

Rev

Rev 83 | Rev 128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 118
Line 148... Line 148...
148
 
148
 
149
		void LoadData()
149
		void LoadData()
150
		{
150
		{
151
			System::String ^mydoc = Environment::GetFolderPath(Environment::SpecialFolder::Personal );
151
			System::String ^mydoc = Environment::GetFolderPath(Environment::SpecialFolder::Personal );
152
			CFileIO Config;
152
			CFileIO Config;
153
			if ( Config.Open(CyStringFromSystemString(mydoc) + "/Egosoft/spkexplorer.dat") )
153
			if ( Config.open(_S(mydoc) + "/Egosoft/spkexplorer.dat") )
154
			{
154
			{
155
				std::vector<CyString> *lines = Config.ReadLines();
155
				std::vector<CyString> *lines = Config.ReadLines();
156
				if ( lines )
156
				if ( lines )
157
				{
157
				{
158
					for ( int i = 0; i < (int)lines->size(); i++ )
158
					for ( int i = 0; i < (int)lines->size(); i++ )