Skip to content

Commit

Permalink
exception in filtered menu
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Jul 3, 2017
1 parent 50198b7 commit b94b378
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
drkns 03.07.2017 19:31:28 +0000 - build 4983

1. В некоторых случаях макрос мог вызвать исключение в меню со включенным фильтром.

drkns 02.07.2017 13:53:50 +0000 - build 4982

1. С форума: Странные значения в диалогах перемещения/копирования
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4982)m4_dnl
m4_define(BUILD,4983)m4_dnl
2 changes: 2 additions & 0 deletions far/vmenu.cpp
Expand Up @@ -876,6 +876,8 @@ long long VMenu::VMProcess(int OpCode, void* vParam, long long iParam)

case MCODE_V_MENU_VALUE: // Menu.Value
{
if (empty())
return 0;
*reinterpret_cast<string*>(vParam) = at(SelectPos).strName;
return 1;
}
Expand Down

0 comments on commit b94b378

Please sign in to comment.