Subversion Repositories Kolibri OS

Rev

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

Rev 3058 Rev 3061
Line 28... Line 28...
28
void GetURLfromPageLinks(int id)
28
void GetURLfromPageLinks(int id)
29
{
29
{
30
	int i, j = 0;
30
	int i, j = 0;
31
	for (i = 0; i <= id - 401; i++)
31
	for (i = 0; i <= id - 401; i++)
32
	{
32
	{
-
 
33
		do
-
 
34
		{
33
		do j++;
35
			j++;
-
 
36
			if (j>=strlen(#page_links)) return; //íå ñàìîå óäà÷íîå ðåøåíèå
-
 
37
		}
34
		while (page_links[j] <>'|');
38
		while (page_links[j] <>'|');
35
	}
39
	}
36
	page_links[j] = 0x00;
40
	page_links[j] = 0x00;
37
	strcpy(#URL, #page_links[strrchr(#page_links, '|')]);
41
	strcpy(#URL, #page_links+strrchr(#page_links, '|'));
38
}
42
}
Line 39... Line 43...
39
 
43
 
40
 
44