diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-01-27 17:23:47 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2012-09-30 14:50:30 -0400 |
| commit | 7d32190a4cce0a579e187998ec5f834a3b8932e5 (patch) | |
| tree | 3e65b2186c2461ab7b599846853e5477b8ff96af /obt/paths.c | |
| parent | 30fe9697dfd7276a8d18cdecde9809eeec80bf0d (diff) | |
Add another BSEARCH function that lets you search through an array of objects.
If you give it a value x, the macro lets you pull a value out of each object
that you want to compare to x.
Diffstat (limited to 'obt/paths.c')
| -rw-r--r-- | obt/paths.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obt/paths.c b/obt/paths.c index aa76b8ef..f2d4b420 100644 --- a/obt/paths.c +++ b/obt/paths.c @@ -335,7 +335,7 @@ static inline gboolean try_exec(const ObtPaths *const p, const gchar *const path) { struct stat st; - BSEARCH_SETUP(guint); + BSEARCH_SETUP(); if (stat(path, &st) != 0) return FALSE; |
