aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-14 22:59:46 -0500
committerJoel Martin <github@martintribe.org>2014-04-14 22:59:46 -0500
commitcce5977962e27695a48e8853376c896fd2a45cc9 (patch)
tree4eafa9410841dd618c2faeec7695d8f754be686a
parent0027e8fed423a24ec93234a6bf0fb701c233d583 (diff)
downloadmal-cce5977962e27695a48e8853376c896fd2a45cc9.tar.gz
mal-cce5977962e27695a48e8853376c896fd2a45cc9.zip
PS: fix meta return value when obj has no meta
-rw-r--r--ps/core.ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/ps/core.ps b/ps/core.ps
index 590388a..bdb3408 100644
--- a/ps/core.ps
+++ b/ps/core.ps
@@ -179,7 +179,7 @@ end } def
/meta {
0 _nth % stack: obj
dup type /dicttype eq { %if dictionary
- dup /meta known { /meta get }{ null } ifelse
+ dup /meta known { /meta get }{ pop null } ifelse
}{ %else
pop null % no meta on non-collections
} ifelse