From 3bd863734612dc2fe9c5c7c1405358ffb1228afb Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Wed, 15 Jan 2020 03:00:56 +0000
Subject: CTAN sync 202001150300

---
 macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx')

diff --git a/macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx b/macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx
index ff86b18493..26e9c62026 100644
--- a/macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx
+++ b/macros/latex/contrib/tudscr/source/tudscr-twocolfix.dtx
@@ -4,7 +4,7 @@
 %  TUD-Script -- Corporate Design of Technische Universität Dresden
 % ----------------------------------------------------------------------------
 %
-%  Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019
+%  Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020
 %
 % ----------------------------------------------------------------------------
 %
@@ -70,12 +70,12 @@
 %</dtx|package>
 %<*dtx>
 \documentclass[english,ngerman,xindy]{tudscrdoc}
-\ifpdftex{
+\iftutex
+  \usepackage{fontspec}
+\else
   \usepackage[T1]{fontenc}
   \usepackage[ngerman=ngerman-x-latest]{hyphsubst}
-}{
-  \usepackage{fontspec}
-}
+\fi
 \usepackage{babel}
 \usepackage{tudscrfonts}
 \KOMAoptions{parskip=half-}
-- 
cgit v1.2.3

