about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-10-18 16:02:56 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-10-18 16:02:56 +0200
commit5777cf60fa8336f165559d749d3a700c696ba20e (patch)
treecdff3bbfdb414d1d1153b3168ee7b882b465048e
parent78c75bf0fa665250f3ff66a7625ec4772ea483d3 (diff)
downloadnotyet-5777cf60fa8336f165559d749d3a700c696ba20e.tar.gz
notyet-5777cf60fa8336f165559d749d3a700c696ba20e.tar.xz
notyet-5777cf60fa8336f165559d749d3a700c696ba20e.zip
don't propagate '?' over 'x'
-rwxr-xr-xnotyet2
1 files changed, 1 insertions, 1 deletions
diff --git a/notyet b/notyet
index f74631f..3078f58 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(self.state)
+    self.state = state  unless "xX?".index(self.state)
     children.each { |c| c.force(state) }
   end