[babl] babl-cache: fix mk_ancestry to return 0 when behaving properly
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl-cache: fix mk_ancestry to return 0 when behaving properly
- Date: Wed, 30 Nov 2016 00:44:12 +0000 (UTC)
commit e664a228622ec470454ce2f6512525251463ca40
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Nov 30 01:43:45 2016 +0100
babl-cache: fix mk_ancestry to return 0 when behaving properly
babl/babl-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-cache.c b/babl/babl-cache.c
index 239bb16..c8a5dbd 100644
--- a/babl/babl-cache.c
+++ b/babl/babl-cache.c
@@ -51,7 +51,7 @@ mk_ancestry_iter (const char *path)
}
}
}
- return -1;
+ return 0;
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]