diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-04-22 02:50:03 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-04-22 02:50:03 (GMT) |
commit | 5f4536404c4b23313bfa75bd07b3897b9e15d766 (patch) | |
tree | 791e4c644c4c75f33b3b6b1307f7609f47591fd1 /src | |
parent | 7b5e045aeaab97c4df7b52649480f0e8f4323410 (diff) | |
download | mxe-5f4536404c4b23313bfa75bd07b3897b9e15d766.zip mxe-5f4536404c4b23313bfa75bd07b3897b9e15d766.tar.gz mxe-5f4536404c4b23313bfa75bd07b3897b9e15d766.tar.bz2 |
lensfun-test: use correct #include style and don't return negative exit code
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lensfun-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lensfun-test.c b/src/lensfun-test.c index 62d01ac..46c284f 100644 --- a/src/lensfun-test.c +++ b/src/lensfun-test.c @@ -8,7 +8,7 @@ A simple example of library usage from plain C */ -#include "lensfun.h" +#include <lensfun.h> #include <stdio.h> #include <locale.h> #include <glib.h> @@ -29,7 +29,7 @@ int main () if (!ldb) { fprintf (stderr, "Failed to create database\n"); - return -1; + return 1; } g_print ("HomeDataDir: %s\n", ldb->HomeDataDir); |