From 84a2fd823a45d6e45fb0e7483db1ac3da272b18b Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 15 Apr 2024 17:18:52 +0600 Subject: [PATCH] Test fix for drivers getting --- source/ubl-settings-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubl-settings-video.c b/source/ubl-settings-video.c index f9c7aff..e97f344 100644 --- a/source/ubl-settings-video.c +++ b/source/ubl-settings-video.c @@ -1595,12 +1595,12 @@ void yon_adapter_window_setup(widgets_dict *widgets){ vendor = json_object_get_string(unit_obj); } const char *driver_use=""; - if (json_object_object_get_ex(item_obj, "capabilities", &unit_obj)) { + if (json_object_object_get_ex(item_obj, "configuration", &unit_obj)) { if (json_object_object_get_ex(unit_obj, "driver", &unit_obj)) driver_use = json_object_get_string(unit_obj); } const char *driver_all=""; - if (json_object_object_get_ex(item_obj, "capabilities", &unit_obj)) { + if (json_object_object_get_ex(item_obj, "configuration", &unit_obj)) { if (json_object_object_get_ex(unit_obj, "driver", &unit_obj)) driver_all = json_object_get_string(unit_obj); }