Subversion Repositories Kolibri OS

Rev

Rev 8443 | Rev 8445 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8443 Rev 8444
Line 140... Line 140...
140
		pe--;
140
		pe--;
141
 
141
 
Line 142... Line 142...
142
		//find ATTR end
142
		//find ATTR end
143
		while (pe > ps) && (ESBYTE[pe] != '=') pe--;
143
		while (pe > ps) && (ESBYTE[pe] != '=') pe--;
144
		ESBYTE[pe+1] = '\0';
144
		ESBYTE[pe] = '\0';
145
	}
145
	}
146
	else
146
	else
147
	{
147
	{
148
		//find VAL start and copy
148
		//find VAL start and copy
149
		while (pe > ps) && (ESBYTE[pe] != '=') pe--;
149
		while (pe > ps) && (ESBYTE[pe] != '=') pe--;
150
		pe++;
-
 
151
		strlcpy(#val, pe, sizeof(val)-1);
150
		strlcpy(#val, pe+1, sizeof(val)-1);
-
 
151
		ESBYTE[pe] = '\0';
152
		//already have ATTR end
152
		//already have ATTR end
153
	}
153
	}
Line 154... Line 154...
154
 
154
 
155
	//find ATTR start and copy
155
	//find ATTR start and copy