From 441c804dbee156e24cc8bc920b7c1919783e5d8a Mon Sep 17 00:00:00 2001 From: ansstuff Date: Mon, 22 Oct 2012 13:17:52 +0000 Subject: [PATCH] * Taseditor: fixed lost_position logic --- src/drivers/win/taseditor.cpp | 2 -- src/drivers/win/taseditor/playback.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/drivers/win/taseditor.cpp b/src/drivers/win/taseditor.cpp index d1516b01..a359e1e4 100644 --- a/src/drivers/win/taseditor.cpp +++ b/src/drivers/win/taseditor.cpp @@ -92,8 +92,6 @@ bool EnterTasEditor() // "Set high-priority thread" eoptions |= EO_HIGHPRIO; DoPriority(); - // clear "Disable speed throttling" - eoptions &= ~EO_NOTHROTTLE; // switch off autosaves saved_EnableAutosave = EnableAutosave; EnableAutosave = 0; diff --git a/src/drivers/win/taseditor/playback.cpp b/src/drivers/win/taseditor/playback.cpp index 16a8b91d..77ce8c65 100644 --- a/src/drivers/win/taseditor/playback.cpp +++ b/src/drivers/win/taseditor/playback.cpp @@ -483,7 +483,7 @@ bool PLAYBACK::JumpToFrame(int index) void PLAYBACK::SetLostPosition(int frame) { - if ((lost_position_frame - 1 < frame) || (lost_position_frame - 1 > frame && !lost_position_is_stable)) + if ((lost_position_frame - 1 < frame) || (lost_position_frame - 1 >= frame && !lost_position_is_stable)) { if (lost_position_frame) piano_roll.RedrawRow(lost_position_frame - 1);