about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-10-18 15:56:55 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-10-18 15:56:55 +0200
commit7d8950dcd845ed9744cd98bd424b07301222c139 (patch)
tree27d05315143fbd80f8c626e20f73fd476767f8e3
parentb922e26e51e92eaeee4798a0dd9ca527075032e5 (diff)
downloadnotyet-7d8950dcd845ed9744cd98bd424b07301222c139.tar.gz
notyet-7d8950dcd845ed9744cd98bd424b07301222c139.tar.xz
notyet-7d8950dcd845ed9744cd98bd424b07301222c139.zip
fix downpropagation of '?'
-rwxr-xr-xnotyet2
1 files changed, 1 insertions, 1 deletions
diff --git a/notyet b/notyet
index f6deca0..b713434 100755
--- a/notyet
+++ b/notyet
@@ -81,7 +81,7 @@ class Entry < Struct.new(:depth, :state, :desc, :file, :line, :children)
   end
 
   def force(state)
-    self.state = state  unless "X?".index(state)
+    self.state = state  unless "X?".index(self.state)
     children.each { |c| c.force(state) }
   end