[gimp] plug-ins: fix the RawTherapee version test.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix the RawTherapee version test.
- Date: Fri, 28 Jul 2017 23:26:59 +0000 (UTC)
commit 87bbba5cea9d9fb1b7b02d21a5e64e775ac9c8a9
Author: Alberto Griggio <alberto griggio gmail com>
Date: Sat Jul 29 01:24:32 2017 +0200
plug-ins: fix the RawTherapee version test.
plug-ins/file-raw/file-rawtherapee.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-raw/file-rawtherapee.c b/plug-ins/file-raw/file-rawtherapee.c
index 6909627..000c99f 100644
--- a/plug-ins/file-raw/file-rawtherapee.c
+++ b/plug-ins/file-raw/file-rawtherapee.c
@@ -120,7 +120,8 @@ init (void)
if (sscanf (rawtherapee_stdout,
"RawTherapee, version %d.%d",
- &rtmajor, &rtminor) == 2 && rtmajor >= 5 && rtminor >= 2)
+ &rtmajor, &rtminor) == 2 &&
+ ((rtmajor == 5 && rtminor >= 2) || rtmajor >= 6))
{
have_rawtherapee = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]