diff options
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 640db68ae..81fcba610 100644 --- a/test/test.c +++ b/test/test.c @@ -1941,7 +1941,7 @@ static int ParseOptions( int argc, char ** argv ) while (optind < argc && argv[optind][0] != '-') { int result = hb_presets_add_path(argv[optind]); - if (result != 0) + if (result < 0) { fprintf(stderr, "Preset import failed, file (%s)\n", argv[optind]); |