diff --git a/src/NTwain/Capabilities.cs b/src/NTwain/Capabilities.cs index 5f888c6..aa1af4f 100644 --- a/src/NTwain/Capabilities.cs +++ b/src/NTwain/Capabilities.cs @@ -2055,15 +2055,11 @@ namespace NTwain ItemType = ItemType.Bool }; - // we will never set feeder off, only autofeed and autoscan - // but if it is true then enable feeder needs to be set first - if (value == BoolType.True) + using (TWCapability enabled = new TWCapability(CapabilityId.CapFeederEnabled, one)) { - using (TWCapability enabled = new TWCapability(CapabilityId.CapFeederEnabled, one)) - { - rc = _source.DGControl.Capability.Set(enabled); - } + rc = _source.DGControl.Capability.Set(enabled); } + // to really use feeder we must also set autofeed or autoscan, but only // for one of them since setting autoscan also sets autofeed if (CapAutoScan.CanSet) diff --git a/src/NTwain/Properties/VersionInfo.cs b/src/NTwain/Properties/VersionInfo.cs index bf0fb5f..b78e759 100644 --- a/src/NTwain/Properties/VersionInfo.cs +++ b/src/NTwain/Properties/VersionInfo.cs @@ -1,6 +1,6 @@ using System.Reflection; -[assembly: AssemblyCopyright("Copyright \x00a9 Yin-Chun Wang 2012-2017")] +[assembly: AssemblyCopyright("Copyright \x00a9 Yin-Chun Wang 2012-2018")] [assembly: AssemblyCompany("Yin-Chun Wang")] [assembly: AssemblyVersion(NTwain.VersionInfo.Release)] @@ -23,7 +23,7 @@ namespace NTwain /// /// The build release version number. /// - public const string Build = "3.5.0"; // change this for each nuget release + public const string Build = "3.5.2"; // change this for each nuget release }