From f4ad43e2c94b963462da4744c419cf9835382fea Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sat, 26 Nov 2011 13:40:14 -0500 Subject: [PATCH] Minor convenience issue that I wanted done with. --- Docs/Changelog_sm5.txt | 3 +++ src/ScreenEdit.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt index 80f3cc0720..81384ab234 100644 --- a/Docs/Changelog_sm5.txt +++ b/Docs/Changelog_sm5.txt @@ -12,6 +12,9 @@ StepMania 5.0 $next | 20111xxx ---------- * [ScreenEdit] Restore using F9 and F10 to adjust stops by a fixed amount. Sorry for the delay in this. [Wolfman2000] +* [ScreenEdit] Minor convenience. If you attempt to create a negative stop + segment from scratch, it does not create, and you are not requested to + save on exit, for there is nothing to save. [Wolfman2000] 2011/11/25 ---------- diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index c71d8b04c8..32d3ee20ef 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -1908,6 +1908,8 @@ void ScreenEdit::InputEdit( const InputEventPlus &input, EditButton EditB ) { if( fDelta > 0 ) timing.AddSegment( StopSegment(GetRow(), fDelta) ); + else + break; } else {