[gegl] gegl: fix logical erorrs in previous commit
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: fix logical erorrs in previous commit
- Date: Tue, 22 May 2018 10:18:22 +0000 (UTC)
commit 4a07da0c58ca719c0f305624d7d7e1122ef17639
Author: Øyvind Kolås <pippin gimp org>
Date: Tue May 22 12:14:44 2018 +0200
gegl: fix logical erorrs in previous commit
gegl/gegl-config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 9f8f964..9a9241e 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -225,7 +225,7 @@ gegl_config_class_init (GeglConfigClass *klass)
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
- _gegl_threads = MAX (GEGL_MAX_THREADS, g_get_num_processors ());
+ _gegl_threads = MIN (GEGL_MAX_THREADS, g_get_num_processors ());
g_object_class_install_property (gobject_class, PROP_THREADS,
g_param_spec_int ("threads",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]