Subversion Repositories spk

Rev

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

Rev 217 Rev 224
Line 40... Line 40...
40
 
40
 
41
	void CustomiseShip::SwitchGame()
41
	void CustomiseShip::SwitchGame()
42
	{
42
	{
43
		bool m_bUpdateding = true;
43
		bool m_bUpdateding = true;
44
 
44
 
45
		Utils::String dir = _S(this->ComboGame->Items[this->ComboGame->SelectedIndex]->ToString());
45
		Utils::WString dir = _WS(this->ComboGame->Items[this->ComboGame->SelectedIndex]->ToString());
46
		dir = dir.token("[", -1).token("]", 1);
46
		dir = dir.token(L"[", -1).token(L"]", 1);
47
		
47
		
48
		_pGameDir->setSelectedDirectory(dir);
48
		_pGameDir->setSelectedDirectory(dir);
49
 
49
 
50
		((Form1 ^)m_pMainForm)->LoadText(_pGameDir->selectedVFS());
50
		((Form1 ^)m_pMainForm)->LoadText(_pGameDir->selectedVFS());
51
 
51