summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-06-15 12:39:44 +0300
committerTor Lillqvist <tml@collabora.com>2015-06-15 12:39:44 +0300
commit7eac94da23f2f4460252eae5fa073fd1d833ba99 (patch)
tree8eb05b0bdbf6ae280e4fe2a951f52afddc46caf4 /vcl
parenta0e10b1e0863b1967ede25053f8e3f1dacf0fbdf (diff)
Fix humorous search/replace accident
Change-Id: Iaef623fd52bab9bf296431f1b905afb04e16d05b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index 151476dc1588..abc367a292ef 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -766,12 +766,13 @@ void WinOpenGLDeviceInfo::GetData()
deviceIndex++;
}
- // make sure the string is nullptr terminated
+ // make sure the string is null terminated
+ // (using the term "null" here to mean a zero UTF-16 unit)
if (wcsnlen(displayDevice.DeviceKey, ArrayLength(displayDevice.DeviceKey))
== ArrayLength(displayDevice.DeviceKey))
{
- // we did not find a nullptr
- SAL_WARN("vcl.opengl", "no null pointer");
+ // we did not find a null
+ SAL_WARN("vcl.opengl", "string not null terminated");
return;
}