summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty12
1 files changed, 2 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
index c5c2ee4c37a..f1a339ca588 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
@@ -19,16 +19,8 @@
\LWR@ProvidesPackageDropA{geometry}{2018/04/16}
\ifbool{LWR@allowanothergeometry}{%
-\newcommand*{\LWR@newgeometryoptions}{reset,}
-
-\DeclareOption*{%
- \edef\LWR@newgeometryoptions{\LWR@newgeometryoptions\CurrentOption,}%
-}
-\ProcessOptions\relax
-\ifdefvoid{\LWR@newgeometryoptions}{}{
- \expandafter\LWR@origgeometry\expandafter{\LWR@newgeometryoptions}
-}
-
+ \edef\LWR@tempone{reset,\@ptionlist{\@currname.\@currext}}%
+ \expandafter\LWR@origgeometry\expandafter{\LWR@tempone}%
}{}% LWR@allowanothergeometry
\renewcommand*{\geometry}[1]{}
\renewcommand*{\newgeometry}[1]{}