lineart: custom_gamma always enabled

merge-requests/1/head
Rolf Bensch 2012-02-16 18:05:42 +01:00
rodzic 4911e3e1a0
commit 050707e804
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -646,11 +646,9 @@ control_option (pixma_sane_t * ss, SANE_Int n,
if (ss->mode_map[OVAL (opt_mode).w] == PIXMA_SCAN_MODE_LINEART)
{
enable_option (ss, opt_threshold, SANE_TRUE);
enable_option (ss, opt_custom_gamma, SANE_FALSE);
}
else
{
enable_option (ss, opt_custom_gamma, SANE_TRUE);
enable_option (ss, opt_threshold, SANE_FALSE);
}
*info |= SANE_INFO_RELOAD_OPTIONS;