summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-09-18 17:44:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-09-18 17:44:06 +0000
commit71f5cd9185be4bee4101648413c6804185cb979e (patch)
tree9c42c50db2d5936a1ae639907806a04e35fe0e85
parente4ee473ae6d8ad39dac9bc5f7584d63556fce55d (diff)
web2c/omegafonts: Adapt to W32TeX (from Akira)
git-svn-id: svn://tug.org/texlive/trunk@27709 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/omegafonts/ChangeLog5
-rw-r--r--Build/source/texk/web2c/omegafonts/omfonts.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/omegafonts/ChangeLog b/Build/source/texk/web2c/omegafonts/ChangeLog
index 8b9f2b26f71..96ef09a02cb 100644
--- a/Build/source/texk/web2c/omegafonts/ChangeLog
+++ b/Build/source/texk/web2c/omegafonts/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-25 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * omfonts.c (PROG_IS): Compare program name case insensistively.
+ (from W32TeX).
+
2012-07-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* pl-parser.[ch]: Regenerate with bison 2.5.1.
diff --git a/Build/source/texk/web2c/omegafonts/omfonts.c b/Build/source/texk/web2c/omegafonts/omfonts.c
index a4035975565..bd9b2e60395 100644
--- a/Build/source/texk/web2c/omegafonts/omfonts.c
+++ b/Build/source/texk/web2c/omegafonts/omfonts.c
@@ -123,7 +123,7 @@ main (int argc, string *argv)
int option_index = 0;
name_program = xbasename(argv[0]);
-#define PROG_IS(s) !strcmp(name_program, s) || !strcasecmp(name_program, s ".exe")
+#define PROG_IS(s) !strcasecmp(name_program, s) || !strcasecmp(name_program, s ".exe")
if (PROG_IS("ofm2opl"))
program = PROG_OFM2OPL;
else if (PROG_IS("opl2ofm"))