aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/lldxhardware.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llwindow/lldxhardware.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to '')
-rw-r--r--linden/indra/llwindow/lldxhardware.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llwindow/lldxhardware.cpp b/linden/indra/llwindow/lldxhardware.cpp
index 5dd632b..b2e1b04 100644
--- a/linden/indra/llwindow/lldxhardware.cpp
+++ b/linden/indra/llwindow/lldxhardware.cpp
@@ -66,16 +66,16 @@ std::string get_string(IDxDiagContainer *containerp, WCHAR *wszPropName)
66 switch( var.vt ) 66 switch( var.vt )
67 { 67 {
68 case VT_UI4: 68 case VT_UI4:
69 swprintf( wszPropValue, L"%d", var.ulVal ); 69 swprintf( wszPropValue, L"%d", var.ulVal ); /* Flawfinder: ignore */
70 break; 70 break;
71 case VT_I4: 71 case VT_I4:
72 swprintf( wszPropValue, L"%d", var.lVal ); 72 swprintf( wszPropValue, L"%d", var.lVal ); /* Flawfinder: ignore */
73 break; 73 break;
74 case VT_BOOL: 74 case VT_BOOL:
75 wcscpy( wszPropValue, (var.boolVal) ? L"true" : L"false" ); 75 wcscpy( wszPropValue, (var.boolVal) ? L"true" : L"false" ); /* Flawfinder: ignore */
76 break; 76 break;
77 case VT_BSTR: 77 case VT_BSTR:
78 wcsncpy( wszPropValue, var.bstrVal, 255 ); 78 wcsncpy( wszPropValue, var.bstrVal, 255 ); /* Flawfinder: ignore */
79 wszPropValue[255] = 0; 79 wszPropValue[255] = 0;
80 break; 80 break;
81 } 81 }