From 7d32190a4cce0a579e187998ec5f834a3b8932e5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 27 Jan 2011 17:23:47 -0500 Subject: 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. --- obt/paths.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obt/paths.c') 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; -- cgit v1.2.3