forked from KolibriOS/kolibrios
HTMLv. GoBack button fix.
git-svn-id: svn://kolibrios.org@2417 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -9,18 +9,11 @@ UrlsHistory BrowserHistory;
|
||||
|
||||
void UrlsHistory::GoBack()
|
||||
{
|
||||
WriteDebug(#UrlHistory);
|
||||
//find_symbol(#UrlHistory, '|')
|
||||
|
||||
j = strlen(#UrlHistory);
|
||||
WHILE(UrlHistory[j] <>'|') && (j > 0) j--;
|
||||
IF (j > 0) UrlHistory[j] = 0x00;
|
||||
WHILE(UrlHistory[j] <>'|') && (j > 0) {
|
||||
copystr(#UrlHistory[j], #URL);
|
||||
j--;
|
||||
}
|
||||
j = find_symbol(#UrlHistory, '|') -1; //ňĺęóůŕ˙ ńňđŕíčöŕ
|
||||
if (j<=0) return;
|
||||
UrlHistory[j] = 0x00;
|
||||
|
||||
j = find_symbol(#UrlHistory, '|'); //ďđĺäűäóůŕ˙ ńňđŕíčöŕ -> îíŕ íŕě č íóćíŕ
|
||||
copystr(#UrlHistory + j, #URL);
|
||||
copystr(#URL, #editURL);
|
||||
WB1.ShowPage(#URL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user