aknlayoutcompiler/src/LayoutParse.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
equal deleted inserted replaced
0:f58d6ec98e88 1:b700e12870ca
   244 		layName = layName.substr(2);
   244 		layName = layName.substr(2);
   245 		layout->iCanBeMirror = true;
   245 		layout->iCanBeMirror = true;
   246 		}
   246 		}
   247 	layout->iName = layName;
   247 	layout->iName = layName;
   248 
   248 
   249 	int pos=0;
   249 	string::size_type pos=0;
   250 	bool first = true;
   250 	bool first = true;
   251 	while (pos != string::npos)
   251 	while (pos != string::npos)
   252 		{
   252 		{
   253 		int next = layName.find('+', pos);
   253 		string::size_type next = layName.find('+', pos);
   254 		string name;
   254 		string name;
   255 		if (next == string::npos)
   255 		if (next == string::npos)
   256 			{
   256 			{
   257 			name = layName.substr(pos);
   257 			name = layName.substr(pos);
   258 			pos = next;
   258 			pos = next;