summaryrefslogtreecommitdiff
path: root/indra/llwindow/lldxhardware.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-11-01 23:11:57 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-11-01 23:11:57 +0200
commit39e08b34b10fa16f22a97caa426e034d7b2afc9d (patch)
treea10181b44eb6a2062aa33ddea5064b43f491c860 /indra/llwindow/lldxhardware.cpp
parentd4d5d4018d89ebb13e1c47c9bb500af17a64d1be (diff)
parentd0e07c770b978d57210a5403bc42cc48e700ef63 (diff)
Merge remote-tracking branch 'RyeMutt/viewer/llsd-usage-fixes' into DRTVWR-570-maint-Q
Diffstat (limited to 'indra/llwindow/lldxhardware.cpp')
-rw-r--r--indra/llwindow/lldxhardware.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/lldxhardware.cpp b/indra/llwindow/lldxhardware.cpp
index 81e938edbe..391a377280 100644
--- a/indra/llwindow/lldxhardware.cpp
+++ b/indra/llwindow/lldxhardware.cpp
@@ -1098,7 +1098,7 @@ LLSD LLDXHardware::getDisplayInfo()
}
LCleanup:
- if (ret.emptyMap())
+ if (!ret.isMap() || (ret.size() == 0))
{
LL_INFOS() << "Failed to get data, cleaning up" << LL_ENDL;
}