Subversion Repositories spk

Rev

Rev 333 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 333 Rev 336
Line 4742... Line 4742...
4742
	}
4742
	}
4743
 
4743
 
4744
	// we should now have a list of all text files, we need to remove those that have a matching language
4744
	// we should now have a list of all text files, we need to remove those that have a matching language
4745
	for(auto itr = ids.begin(); itr != ids.end(); itr++)
4745
	for(auto itr = ids.begin(); itr != ids.end(); itr++)
4746
	{
4746
	{
4747
		int size = 0;
-
 
4748
		std::vector<Utils::WString> data;
4747
		std::vector<Utils::WString> data;
4749
		if(!(*itr)->data.tokenise(L":", data))			
4748
		if(!(*itr)->data.tokenise(L":", data))			
4750
			continue; // huh ? we shouldn't have this
4749
			continue; // huh ? we shouldn't have this
4751
 
4750
 
4752
		// lets search for a matching id
4751
		// lets search for a matching id
4753
		int useId = 0;
4752
		int useId = 0;
4754
		bool found = false;
4753
		bool found = false;
4755
		for ( int i = 0; i < size; i++ )
4754
		for ( int i = 0; i < data.size(); i++ )
4756
		{
4755
		{
4757
			if ( data[i] == L"NULL" )
4756
			if ( data[i] == L"NULL" )
4758
				useId = -1;
4757
				useId = -1;
4759
			else
4758
			else
4760
			{
4759
			{