summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/scanpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/scanpage.c')
-rw-r--r--Build/source/texk/dvipsk/scanpage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/scanpage.c b/Build/source/texk/dvipsk/scanpage.c
index 9315950bf83..824a8f5143f 100644
--- a/Build/source/texk/dvipsk/scanpage.c
+++ b/Build/source/texk/dvipsk/scanpage.c
@@ -175,9 +175,9 @@ case 130: case 135: /* set3, put3 */
mychar = (mychar << 8) + dvibyte();
goto dochar;
case 129: case 134: /* set2, put2 */
- if (noomega) {
+ if (noomega && noptex) {
sprintf(errbuf,
- "! DVI file contains unexpected Omega command (%d)",cmd);
+ "! DVI file contains unexpected command (%d)",cmd);
error(errbuf);
}
mychar = dvibyte(); mychar = (mychar << 8) + dvibyte();