diff --git a/programs/cmm/browser/HTMLv.c b/programs/cmm/browser/HTMLv.c index 7813ad25ee..59be0dd3ce 100644 --- a/programs/cmm/browser/HTMLv.c +++ b/programs/cmm/browser/HTMLv.c @@ -78,7 +78,6 @@ void main() int key, btn; int half_scroll_size; int scroll_used=0, show_menu; - int bufpointer_len; mem_Init(); CursorPointer.Load(#CursorFile); @@ -212,7 +211,6 @@ void main() ESI = http_transfer; bufpointer = ESI.http_msg.content_ptr; bufsize = ESI.http_msg.content_received; - bufpointer_len = strlen(bufpointer); http_free stdcall (http_transfer); http_transfer=0; Draw_Window(); // stop button => refresh button diff --git a/programs/cmm/browser/menu_rmb.h b/programs/cmm/browser/menu_rmb.h index 5ee8bc9aaf..7554b4f3ca 100644 --- a/programs/cmm/browser/menu_rmb.h +++ b/programs/cmm/browser/menu_rmb.h @@ -75,5 +75,9 @@ void DrawMenuList() } 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 }