aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/presea
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/presea')
-rwxr-xr-xsrc/hyper/presea3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hyper/presea b/src/hyper/presea
index b3b9485c..fb9af4db 100755
--- a/src/hyper/presea
+++ b/src/hyper/presea
@@ -6,7 +6,8 @@ BEGIN {n=0;m=0
a[n] = $0;
n=n+1;
j=split($0,b,"{");
- m=m+substr(b[j],1,length(b[j])-1);
+ if ( j>= 2)
+ m=m+substr(b[j],1,length(b[j])-1);
}
END {