Subversion Repositories spk

Rev

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

Rev 197 Rev 212
Line 310... Line 310...
310
			if (gameName.empty())
310
			if (gameName.empty())
311
				MessageBox::Show(this, "No X-Universe game found in folder:\n" + _US(dir), "Add Directory Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
311
				MessageBox::Show(this, "No X-Universe game found in folder:\n" + _US(dir), "Add Directory Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
312
			else
312
			else
313
			{
313
			{
314
				// lets check if theres an old folder
314
				// lets check if theres an old folder
315
				if (_packages->isOldDir(dir.toString()))
315
				if (_packages->isOldDir(dir))
316
				{
316
				{
317
					if (MessageBox::Show(this, "Game directory: " + _US(dir) + "\nIs currently being controled by the old plugin manager\nIf you continue, you will be unable to use the old version again\nDo you wish to continue?", "Update Game Directory", MessageBoxButtons::YesNo, MessageBoxIcon::Question) != System::Windows::Forms::DialogResult::Yes)
317
					if (MessageBox::Show(this, "Game directory: " + _US(dir) + "\nIs currently being controled by the old plugin manager\nIf you continue, you will be unable to use the old version again\nDo you wish to continue?", "Update Game Directory", MessageBoxButtons::YesNo, MessageBoxIcon::Question) != System::Windows::Forms::DialogResult::Yes)
318
						return;
318
						return;
319
				}
319
				}
320
				Utils::WString properDir = _packages->getProperDir(file);
320
				Utils::WString properDir = _packages->getProperDir(file);