ncls: use NCSCALE_SCALE_HIRES by default even with NCBLIT_PIXEL

pull/2011/head
nick black 3 years ago
parent d84976d187
commit 74dba98c68
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -185,7 +185,6 @@ int main(int argc, char* const * argv){
bool recursedirs = false;
bool longlisting = false;
bool dereflinks = false;
bool specified_scaling = false;
ncpp::NCAlign alignment = ncpp::NCAlign::Right;
ncblitter_e blitter = NCBLIT_PIXEL;
ncscale_e scale = NCSCALE_SCALE_HIRES;
@ -228,7 +227,6 @@ int main(int argc, char* const * argv){
<< optarg << ")" << std::endl;
usage(std::cerr, argv[0], EXIT_FAILURE);
}
specified_scaling = true;
break;
case 'd':
directories = true;
@ -268,11 +266,6 @@ int main(int argc, char* const * argv){
blitter,
scale,
};
if(blitter == NCBLIT_PIXEL && !specified_scaling){
if(ctx.nc.check_pixel_support() > 0){
ctx.scaling = NCSCALE_NONE_HIRES;
}
}
ctx.nc.cursor_disable();
keep_working = true;
for(auto s = 0u ; s < procs ; ++s){

Loading…
Cancel
Save