diff --git a/programs/network/htmlv/browser/TWB.h b/programs/network/htmlv/browser/TWB.h
index 5da3107974..044ebedb36 100644
--- a/programs/network/htmlv/browser/TWB.h
+++ b/programs/network/htmlv/browser/TWB.h
@@ -9,7 +9,7 @@ dword j,
char download_path[]="/rd/1/.download";
char search_path[]="http://nigma.ru/index.php?s=";
-char version[]=" Text-based Browser 0.93";
+char version[]=" Text-based Browser 0.93b";
char tinypad_path[]="/sys/tinypad";
char t_edit_path[]="/sys/develop/t_edit";
diff --git a/programs/network/htmlv/browser/include/menu_rmb.h b/programs/network/htmlv/browser/include/menu_rmb.h
index 4c6237becf..0ce0bb5ca5 100644
--- a/programs/network/htmlv/browser/include/menu_rmb.h
+++ b/programs/network/htmlv/browser/include/menu_rmb.h
@@ -23,10 +23,13 @@ void menu_rmb()
SetEventMask(100111b);
- loop() switch(CheckEvent())
+ loop() switch(WaitEvent())
{
case evMouse:
mm.get();
+ if (mm.lkm) || (mm.pkm)
+ if (mm.x>ITEM_WIDTH) || (mm.y>items_num*ITEM_HEIGHT+1) ExitProcess();
+
id=mm.y/ITEM_HEIGHT;
if (id<0) || (id+1>items_num) break;
if (items_cur<>id)
@@ -84,9 +87,5 @@ void menu_rmb()
DrawBar(1, i*ITEM_HEIGHT+1, ITEM_WIDTH-1, ITEM_HEIGHT, EDX);
WriteText(8,i*ITEM_HEIGHT+6,0x80,0x000000,ITEMS_LIST[i],0);
}
- default:
- GetProcessInfo(#MenuForm, SelfInfo);
- id=GetSlot(MenuForm.ID);
- if (id<>ActiveProcess()) ExitProcess();
}
}
\ No newline at end of file