aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorvkakade <virendra.kakade@ni.com>2016-02-10 13:16:08 -0600
committerMartin Braun <martin.braun@ettus.com>2016-02-11 08:47:05 -0800
commit83c1493e031ddd0b5b80560f4345aaa089446f94 (patch)
tree44525f13fbbaaf704c8fe7a033538a51c6167698 /host
parent176024de72a8fed7846c9e4405c77af7e0ff5270 (diff)
downloaduhd-83c1493e031ddd0b5b80560f4345aaa089446f94.tar.gz
uhd-83c1493e031ddd0b5b80560f4345aaa089446f94.tar.bz2
uhd-83c1493e031ddd0b5b80560f4345aaa089446f94.zip
Rectified the usage of UHD_IMAGES_DIR_WINREG_KEY in search paths.
Diffstat (limited to 'host')
-rw-r--r--host/lib/utils/paths.cpp2
1 files changed, 1 insertions, 1 deletions
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`