From 83c1493e031ddd0b5b80560f4345aaa089446f94 Mon Sep 17 00:00:00 2001 From: vkakade Date: Wed, 10 Feb 2016 13:16:08 -0600 Subject: Rectified the usage of UHD_IMAGES_DIR_WINREG_KEY in search paths. --- host/lib/utils/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index ebc18fe93..9cbc83062 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -284,7 +284,7 @@ std::string uhd::get_images_dir(const std::string &search_paths) { std::string _search_paths = search_paths; #ifdef UHD_IMAGES_DIR_WINREG_KEY - _search_paths = std::string("UHD_IMAGES_DIR_WINREG_KEY") + "," + search_paths; + _search_paths = std::string(STR(UHD_IMAGES_DIR_WINREG_KEY)) + "," + search_paths; #endif /* Now we will parse and attempt to qualify the paths in the `search_paths` -- cgit v1.2.3