/programs/cmm/browser/WebView.c |
---|
220,7 → 220,7 |
case evNetwork: |
if (http_transfer > 0) { |
http_process stdcall (http_transfer); |
http_receive stdcall (http_transfer); |
$push EAX |
ESI = http_transfer; |
wv_progress_bar.max = ESI.http_msg.content_length; |
618,7 → 618,7 |
if (strncmp(#URL,"http:",5)==0) |
{ |
img_draw stdcall(skin.image, address_box.left+address_box.width+1, address_box.top-2, 17, skin.h, 131, 0); |
http_get stdcall (#URL, #accept_language); |
http_get stdcall (#URL, 0, 0, #accept_language); |
http_transfer = EAX; |
if (http_transfer == 0) |
{ |
/programs/cmm/browser/downloader.h |
---|
88,7 → 88,7 |
default: |
if (DL_Form.width==0) || (DL_http_transfer <= 0) break; |
http_process stdcall (DL_http_transfer); |
http_receive stdcall (DL_http_transfer); |
$push EAX |
ESI = DL_http_transfer; |
DL_progress_bar.max = ESI.http_msg.content_length; |
220,7 → 220,7 |
{ |
download_state = STATE_IN_PROGRESS; |
DL_address_box.color = DL_address_box.blur_border_color = DL_address_box.focus_border_color = 0xdddDDD; |
http_get stdcall (#DL_URL, #accept_language); |
http_get stdcall (#DL_URL, 0, 0, #accept_language); |
DL_http_transfer = EAX; |
DL_progress_bar.value = 0; |
DL_Draw_Window(); |