changeset 1203:5f0d9239c5b2

sub at key=0 fixed
author arpi_esp
date Sat, 23 Jun 2001 16:59:40 +0000
parents 66e5cd717d8f
children 646ac6d78952
files find_sub.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/find_sub.c	Sat Jun 23 15:53:27 2001 +0000
+++ b/find_sub.c	Sat Jun 23 16:59:40 2001 +0000
@@ -22,6 +22,11 @@
       if(key>nosub_range_start && key<nosub_range_end) return; // OK!
     }
     // sub changed!
+
+    if(key<=0){
+      vo_sub=NULL; // no sub here
+      return;
+    }
     
 //    printf("\r---- sub changed ----\n");