summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/dvips/pstricks/pst-tools.pro
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/dvips/pstricks/pst-tools.pro')
-rw-r--r--Master/texmf-dist/dvips/pstricks/pst-tools.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/dvips/pstricks/pst-tools.pro b/Master/texmf-dist/dvips/pstricks/pst-tools.pro
index d4dc3795266..580f9381c3d 100644
--- a/Master/texmf-dist/dvips/pstricks/pst-tools.pro
+++ b/Master/texmf-dist/dvips/pstricks/pst-tools.pro
@@ -12,7 +12,7 @@
%% syntax : array bubblesort --> array2 trie par ordre croissant
%% code de Bill Casselman
%% http://www.math.ubc.ca/people/faculty/cass/graphics/text/www/
-/bubblesort {
+/bubblesort { % on stack must be an array [ ... ]
4 dict begin
/a exch def
/n a length 1 sub def
@@ -37,7 +37,7 @@
/n n 1 sub def
} repeat
} if
- a
+ a % return the sorted array
end
} def
%