From ab95ae7269339f5134b63e1306b733f926d11505 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Fri, 30 Oct 2009 11:14:34 +0000
Subject: exercisesheets.sty: improve handling of empty argument to \points

---
 exercisesheets.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'exercisesheets.sty')

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}}}{%
-- 
cgit v1.2.3

