Subversion Repositories spk

Rev

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

Rev 233 Rev 238
Line 7168... Line 7168...
7168
	return false;
7168
	return false;
7169
}
7169
}
7170
 
7170
 
7171
void CPackages::CreateGlobals()
7171
void CPackages::CreateGlobals()
7172
{
7172
{
7173
	if ( _lGlobals.empty() )
7173
	if (_lGlobals.empty())
-
 
7174
	{
-
 
7175
		bool anyGlobals = false;
-
 
7176
		for (CListNode<CBaseFile>* node = m_lPackages.Front(); node; node = node->next())
-
 
7177
		{
-
 
7178
			if (node->Data()->getGlobals().size())
-
 
7179
			{
-
 
7180
				anyGlobals = true;
-
 
7181
				break;
-
 
7182
			}
-
 
7183
		}
-
 
7184
 
-
 
7185
		if(!anyGlobals)
7174
		return; // no global settings
7186
			return; // no global settings
-
 
7187
	}
7175
 
7188
 
7176
	Utils::WStringList globals;
7189
	Utils::WStringList globals;
7177
	if (readGlobals(globals))
7190
	if (readGlobals(globals))
7178
	{
7191
	{
7179
		// apply package settings
7192
		// apply package settings