Loading src/options.c +20 −20 Original line number Diff line number Diff line Loading @@ -43,8 +43,6 @@ fehoptions opt; void init_parse_options(int argc, char **argv) { /* TODO: sort these to match declaration of __fehoptions */ /* For setting the command hint on X windows */ cmdargc = argc; cmdargv = argv; Loading @@ -53,32 +51,34 @@ void init_parse_options(int argc, char **argv) memset(&opt, 0, sizeof(fehoptions)); opt.display = 1; opt.aspect = 1; opt.slideshow_delay = 0.0; opt.conversion_timeout = -1; opt.use_conversion_cache = 1; opt.jump_on_resort = 1; #ifdef HAVE_INOTIFY opt.auto_reload = 1; #endif /* HAVE_INOTIFY */ #ifdef HAVE_LIBXINERAMA /* if we're using xinerama, then enable it by default */ opt.xinerama = 1; #endif /* HAVE_LIBXINERAMA */ opt.screen_clip = 1; opt.font = NULL; opt.menu_font = estrdup(DEFAULT_MENU_FONT); opt.start_list_at = NULL; opt.thumb_w = 60; opt.thumb_h = 60; opt.thumb_redraw = 10; opt.scroll_step = 20; opt.menu_font = estrdup(DEFAULT_MENU_FONT); opt.font = NULL; opt.max_height = opt.max_width = UINT_MAX; opt.zoom_rate = 1.25; opt.start_list_at = NULL; opt.jump_on_resort = 1; opt.screen_clip = 1; opt.cache_size = 4; #ifdef HAVE_LIBXINERAMA /* if we're using xinerama, then enable it by default */ opt.xinerama = 1; opt.xinerama_index = -1; #endif /* HAVE_LIBXINERAMA */ #ifdef HAVE_INOTIFY opt.auto_reload = 1; #endif /* HAVE_INOTIFY */ opt.use_conversion_cache = 1; opt.scroll_step = 20; opt.cache_size = 4; opt.max_height = opt.max_width = UINT_MAX; opt.slideshow_delay = 0.0; opt.conversion_timeout = -1; feh_getopt_theme(argc, argv); Loading Loading
src/options.c +20 −20 Original line number Diff line number Diff line Loading @@ -43,8 +43,6 @@ fehoptions opt; void init_parse_options(int argc, char **argv) { /* TODO: sort these to match declaration of __fehoptions */ /* For setting the command hint on X windows */ cmdargc = argc; cmdargv = argv; Loading @@ -53,32 +51,34 @@ void init_parse_options(int argc, char **argv) memset(&opt, 0, sizeof(fehoptions)); opt.display = 1; opt.aspect = 1; opt.slideshow_delay = 0.0; opt.conversion_timeout = -1; opt.use_conversion_cache = 1; opt.jump_on_resort = 1; #ifdef HAVE_INOTIFY opt.auto_reload = 1; #endif /* HAVE_INOTIFY */ #ifdef HAVE_LIBXINERAMA /* if we're using xinerama, then enable it by default */ opt.xinerama = 1; #endif /* HAVE_LIBXINERAMA */ opt.screen_clip = 1; opt.font = NULL; opt.menu_font = estrdup(DEFAULT_MENU_FONT); opt.start_list_at = NULL; opt.thumb_w = 60; opt.thumb_h = 60; opt.thumb_redraw = 10; opt.scroll_step = 20; opt.menu_font = estrdup(DEFAULT_MENU_FONT); opt.font = NULL; opt.max_height = opt.max_width = UINT_MAX; opt.zoom_rate = 1.25; opt.start_list_at = NULL; opt.jump_on_resort = 1; opt.screen_clip = 1; opt.cache_size = 4; #ifdef HAVE_LIBXINERAMA /* if we're using xinerama, then enable it by default */ opt.xinerama = 1; opt.xinerama_index = -1; #endif /* HAVE_LIBXINERAMA */ #ifdef HAVE_INOTIFY opt.auto_reload = 1; #endif /* HAVE_INOTIFY */ opt.use_conversion_cache = 1; opt.scroll_step = 20; opt.cache_size = 4; opt.max_height = opt.max_width = UINT_MAX; opt.slideshow_delay = 0.0; opt.conversion_timeout = -1; feh_getopt_theme(argc, argv); Loading