aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercisesheets.sty2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty
index 6725e8d..7412949 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -600,7 +600,7 @@
\exsh@subexpoints{#1}%
}
\newcommand{\points}[2][]{%
- \exshset{points=#2}%
+ \ifthenelse{\equal{}{#2}}{}{\exshset{points=#2}}%
\bgroup
\exshset{#1}%
\ifthenelse{\equal{}{\pgfkeysvalueof{/exsh/pointsinfo}}}{%