lmi-commits
[Top][All Lists]
Advanced

[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
    
    See:
      http://lists.nongnu.org/archive/html/lmi/2017-01/msg00138.html
---
 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)
         add_row();
-        return;
+        goto done;
         }
 
     LMI_ASSERT(0 == intervals.front().begin_duration);
@@ -486,6 +486,7 @@ void InputSequenceEditor::sequence(InputSequence const& s)
 
     update_diagnostics();
 
+  done:
     // The layout was frozen initially, thaw it now, just once, as we can
     // determine our really final size.
     --layout_freeze_count_;



reply via email to

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