HTMLv: small fix

git-svn-id: svn://kolibrios.org@4644 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2014-03-14 00:17:11 +00:00
parent aa46813e1e
commit 99b65dc390
2 changed files with 5 additions and 3 deletions

View File

@ -78,7 +78,6 @@ void main()
int key, btn; int key, btn;
int half_scroll_size; int half_scroll_size;
int scroll_used=0, show_menu; int scroll_used=0, show_menu;
int bufpointer_len;
mem_Init(); mem_Init();
CursorPointer.Load(#CursorFile); CursorPointer.Load(#CursorFile);
@ -212,7 +211,6 @@ void main()
ESI = http_transfer; ESI = http_transfer;
bufpointer = ESI.http_msg.content_ptr; bufpointer = ESI.http_msg.content_ptr;
bufsize = ESI.http_msg.content_received; bufsize = ESI.http_msg.content_received;
bufpointer_len = strlen(bufpointer);
http_free stdcall (http_transfer); http_free stdcall (http_transfer);
http_transfer=0; http_transfer=0;
Draw_Window(); // stop button => refresh button Draw_Window(); // stop button => refresh button

View File

@ -75,5 +75,9 @@ void DrawMenuList()
} }
WriteText(18,N*menu.line_h+8,0x80,0x000000,ITEMS_LIST[N*2]); WriteText(18,N*menu.line_h+8,0x80,0x000000,ITEMS_LIST[N*2]);
} }
DrawBar(7, cur_encoding*menu.line_h+9, 4, 4, 0x444444); //show current encoding if (cur_encoding!=_DEFAULT)
{
DrawBar(7, cur_encoding*menu.line_h+9, 4, 4, 0x444444); //show current encoding
}
else DrawBar(7, _DOS*menu.line_h+9, 4, 4, 0x444444); //show current encoding
} }