diff options
author | kraxel <kraxel> | 2006-04-10 07:43:01 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2006-04-10 07:43:01 +0000 |
commit | c224e1f486a7100c7933a6e35e988a853496168d (patch) | |
tree | 4f2aa46434382cca82492b5cbb26cd1d4b312198 /fbi.c | |
parent | 9583914ba076818ce50dbce10cce990649742952 (diff) | |
download | fbida-c224e1f486a7100c7933a6e35e988a853496168d.tar.gz |
autoscale first, misc fixes
Diffstat (limited to 'fbi.c')
-rw-r--r-- | fbi.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -120,6 +120,7 @@ static float fbgamma = 1; /* Command line options. */ int autodown; int autoup; +int autofirst; int comments; int transparency = 40; @@ -155,8 +156,8 @@ usage(char *name) "\n", name); - cfg_help_cmdline(fbi_cmd,4,20,0); - cfg_help_cmdline(fbi_cfg,4,20,40); + cfg_help_cmdline(stderr,fbi_cmd,4,20,0); + cfg_help_cmdline(stderr,fbi_cfg,4,20,40); fprintf(stderr, "\n" @@ -1181,6 +1182,7 @@ main(int argc, char *argv[]) once = GET_ONCE(); autoup = GET_AUTO_UP(); autodown = GET_AUTO_DOWN(); + autofirst = GET_AUTO_FIRST(); fitwidth = GET_FIT_WIDTH(); statusline = GET_VERBOSE(); textreading = GET_TEXT_MODE(); @@ -1259,6 +1261,8 @@ main(int argc, char *argv[]) scale = 1; if (scale > 1 && !autoup) scale = 1; + if (autofirst) + autoup = autodown = 0; } if (scale != 1) { snprintf(linebuffer, sizeof(linebuffer), |