aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/presea
diff options
context:
space:
mode:
authoralfredoport <doyenatccny@gmail.com>2008-08-29 23:04:35 +0000
committeralfredoport <doyenatccny@gmail.com>2008-08-29 23:04:35 +0000
commit496fe8b336293c1ca960eb3fad67ac005403ee31 (patch)
tree96f321e2d64df80a11a532360b652edf62052572 /src/hyper/presea
parentc57b76ca8c51522c2f6b99999213aeb125252fca (diff)
downloadopen-axiom-496fe8b336293c1ca960eb3fad67ac005403ee31.tar.gz
Fixes to HyperDoc by Waldek Hebisch.
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 {