chiark / gitweb /
where-vessels: correctly display now-unsmashed but previously-smashed sizes
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 28 Aug 2010 13:33:11 +0000 (14:33 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 28 Aug 2010 13:33:11 +0000 (14:33 +0100)
yarrg/where-vessels

index 2a946ef..eacde3a 100755 (executable)
@@ -630,7 +630,7 @@ proc smash-code {code} {
 proc smash-prepare {} {
     global vc_codes smash_sizemap smash_size smash_sizeinexact
     set mapto {}
 proc smash-prepare {} {
     global vc_codes smash_sizemap smash_size smash_sizeinexact
     set mapto {}
-    catch { unset smash_sizeplus }
+    catch { unset smash_sizeinexact }
     foreach size $vc_codes {
        if {!$smash_size($size)} {
            set mapto $size
     foreach size $vc_codes {
        if {!$smash_size($size)} {
            set mapto $size