forked from KolibriOS/kolibrios
HTMLv: fix for previous rev
git-svn-id: svn://kolibrios.org@4647 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
99f718a31d
commit
0332630c73
@ -458,6 +458,8 @@ void ProcessLinks(int id)
|
||||
}
|
||||
|
||||
void StopLoading()
|
||||
{
|
||||
if (http_transfer<>0)
|
||||
{
|
||||
EAX = http_transfer;
|
||||
EAX = EAX.http_msg.content_ptr; // get pointer to data
|
||||
@ -467,6 +469,7 @@ void StopLoading()
|
||||
mem_Free(EAX); // free data
|
||||
http_transfer=0;
|
||||
bufsize = 0;
|
||||
}
|
||||
PutPaletteImage(#toolbar,200,42,0,0,8,#toolbar_pal);
|
||||
}
|
||||
|
||||
@ -499,7 +502,6 @@ void OpenPage()
|
||||
ShowPage();
|
||||
return;
|
||||
}
|
||||
IF (http_transfer < 0) notify("Error from HTTP lib");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user