#include "image-overlay.h" /* OSD_SHOW_NOTHING */
#include "layout.h"
#include "layout-image.h"
+#include "misc.h"
#include "rcfile.h"
#include "ui-bookmark.h"
#include "ui-fileops.h"
options->printer.image_text_position = 1;
options->printer.page_text_position = 3;
- options->threads.duplicates = -1;
+ options->threads.duplicates = get_cpu_cores() - 1;
options->disabled_plugins = nullptr;
pref_line(vbox, PREF_PAD_SPACE);
group = pref_group_new(vbox, FALSE, _("Thread pool limits"), GTK_ORIENTATION_VERTICAL);
- threads_string_label = pref_label_new(group, "This option limits the number of threads (or cpu cores)\nthat Geeqie will use when running duplicate checks. The default value is 0, which means all available cores will be used.");
+ threads_string_label = pref_label_new(group, "This option limits the number of threads (or cpu cores) that Geeqie will use when running duplicate checks.\nThe value 0 means all available cores will be used.");
gtk_label_set_line_wrap(GTK_LABEL(threads_string_label), TRUE);
pref_spacer(vbox, PREF_PAD_GROUP);