]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 585: fix 300 dpi support for some receivers
authorLee Howard <faxguy@howardsilvan.com>
Tue, 28 Dec 2004 21:13:03 +0000 (21:13 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 28 Dec 2004 21:13:03 +0000 (21:13 +0000)
CHANGES
util/Class2Params.c++

diff --git a/CHANGES b/CHANGES
index 498c598a721d1e6c043395c95f3e9a88bdbf614a..d2bf979f745714e8c1badd403ab0a2893a766c05 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@
 
 Changelog for HylaFAX 4.2.1
 
+* fix 300 dpi support for some receivers (28 Dec 2004)
 * cause faxsetup to double-check and fix attachment encoding
   setup (27 Dec 2004)
 * add uuencode support in pollrcvd (27 Dec 2004) 
index a710ddb9e08056f94f4fe21987fd6585871a4102..f88df48ebdb83bdb739fe72d54391fa38ca166c1 100644 (file)
@@ -243,8 +243,8 @@ Class2Params::setFromDIS(u_int dis, u_int xinfo)
        vr |= VR_200X100;
        if (dis & DIS_7MMVRES) vr |= VR_200X200;
        if (xinfo & DIS_200X400) vr |= VR_200X400;
-       if (xinfo & DIS_300X300) vr |= VR_300X300;
     }
+    if (xinfo & DIS_300X300) vr |= VR_300X300;
     /*
      * Beware that some modems (e.g. the Supra) indicate they
      * support the V.17 bit rates, but not the normal V.27+V.29