[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 3becaf0: Fix defect introduced 20160401T2014Z

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3becaf0: Fix defect introduced 20160401T2014Z: early exit eluded thaw
Date: Sat, 28 Jan 2017 22:40:38 +0000 (UTC)

branch: master
commit 3becaf060d3f8181d0bf1b3e95a1208072cda811
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix defect introduced 20160401T2014Z: early exit eluded thaw
 input_sequence_entry.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/input_sequence_entry.cpp b/input_sequence_entry.cpp
index 54bd49b..e409b61 100644
--- a/input_sequence_entry.cpp
+++ b/input_sequence_entry.cpp
@@ -425,7 +425,7 @@ void InputSequenceEditor::sequence(InputSequence const& s)
         // have single row (initial state)
-        return;
+        goto done;
     LMI_ASSERT(0 == intervals.front().begin_duration);
@@ -486,6 +486,7 @@ void InputSequenceEditor::sequence(InputSequence const& s)
+  done:
     // The layout was frozen initially, thaw it now, just once, as we can
     // determine our really final size.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]