From e752903a9ad1c74190305384230882402822846a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 28 Sep 2020 20:57:36 +0000
Subject: pgf (28sep20)

git-svn-id: svn://tug.org/texlive/trunk@56462 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex')

diff --git a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
index 03be2abfd33..66bdd72b71e 100644
--- a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
@@ -1,4 +1,4 @@
-% Copyright 2007 by Mark Wibrow
+% Copyright 2019 by Mark Wibrow
 %
 % This file may be distributed and/or modified
 %
@@ -239,7 +239,7 @@
 % #2 - the name of the list.
 %
 \def\pgfmathrandomitem#1#2{%
-    \pgfmath@ifundefined{pgfmath@randomlist@#2}{\pgfmath@error{Unknown random list `#2'}}{%
+    \pgfmath@ifundefined{pgfmath@randomlist@#2}{\pgfmath@error{Unknown random list `#2'}{}}{%
         \edef\pgfmath@randomlistlength{\csname pgfmath@randomlist@#2\endcsname}%
         \pgfmathrandominteger{\pgfmath@randomtemp}{1}{\pgfmath@randomlistlength}%
         \def#1{\csname pgfmath@randomlist@#2@\pgfmath@randomtemp\endcsname}}}
-- 
cgit v1.2.3

