summaryrefslogtreecommitdiffstats
path: root/test/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/control.c')
-rw-r--r--test/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/control.c b/test/control.c
index 2d954f9..47c2fab 100644
--- a/test/control.c
+++ b/test/control.c
@@ -262,7 +262,7 @@ void fill_tree_store(GtkTreeStore *tree_store, struct uca_camera *cam)
get_first_level_root(tree_store, &iter, tokens[0]);
find_recursively(tree_store, &iter, &child, tokens, 1);
- if (result == UCA_ERR_PROP_INVALID)
+ if (result != UCA_NO_ERROR)
g_sprintf(value_string, "n/a");
int count = 0;