Navigation Menu

Skip to content

Commit

Permalink
1. уточнение 4305: в ProcessEditorInputW перестали приходить сообщени…
Browse files Browse the repository at this point in the history
…я об отпускании клавиш.
  • Loading branch information
zg0 committed Mar 18, 2015
1 parent 09ae2aa commit 1226399
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 18.03.2015 08:59:33 +0200 - build 4312
zg 18.03.2015 15:36:39 +0200 - build 4313

1. уточнение 4305: в ProcessEditorInputW перестали приходить сообщения об отпускании клавиш.

drkns 18.03.2015 08:59:33 +0200 - build 4312

1. В некоторых случаях не инициализировались объекты синхронизации.

Expand Down
10 changes: 3 additions & 7 deletions far/fileedit.cpp
Expand Up @@ -954,14 +954,10 @@ int FileEditor::ReProcessKey(int Key,int CalledFromControl)
_SVS(if (Global->CtrlObject->Macro.IsRecording() == MACROSTATE_RECORDING_COMMON || Global->CtrlObject->Macro.IsExecuting() == MACROSTATE_EXECUTING_COMMON))
_SVS(SysLog(L"%d !!!! Global->CtrlObject->Macro.GetState() != MACROSTATE_NOMACRO !!!!",__LINE__));

switch (Key)
auto InputRecord=Global->WindowManager->GetLastInputRecord();
if (Key!=KEY_IDLE&&InputRecord.EventType!=0)
{
case KEY_IDLE:
case KEY_NONE:
break;
default:
ProcessedNext=!ProcessEditorInput(Global->WindowManager->GetLastInputRecord());
break;
ProcessedNext=!ProcessEditorInput(InputRecord);
}
}

Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4312)m4_dnl
m4_define(BUILD,4313)m4_dnl

0 comments on commit 1226399

Please sign in to comment.