aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DIBSectionBuffer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-11-22 17:03:40 +0100
committerPierre Ossman <ossman@cendio.se>2024-11-22 17:03:40 +0100
commit44f67714bc53f33764da26d007b5dc4e8045473c (patch)
treed4f53e73219ee6593570ba626096551e6be48b1a /win/rfb_win32/DIBSectionBuffer.cxx
parent213c12c4f12101b560d532416788914b9f67399a (diff)
downloadtigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.tar.gz
tigervnc-44f67714bc53f33764da26d007b5dc4e8045473c.zip
Capitalize even more logging and exceptions
Diffstat (limited to 'win/rfb_win32/DIBSectionBuffer.cxx')
-rw-r--r--win/rfb_win32/DIBSectionBuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/DIBSectionBuffer.cxx b/win/rfb_win32/DIBSectionBuffer.cxx
index e2cb15c1..3ce99809 100644
--- a/win/rfb_win32/DIBSectionBuffer.cxx
+++ b/win/rfb_win32/DIBSectionBuffer.cxx
@@ -58,7 +58,7 @@ void DIBSectionBuffer::initBuffer(const PixelFormat& pf, int w, int h) {
uint8_t* new_data = nullptr;
if (!pf.trueColour)
- throw std::invalid_argument("palette format not supported");
+ throw std::invalid_argument("Palette format not supported");
format = pf;
@@ -87,7 +87,7 @@ void DIBSectionBuffer::initBuffer(const PixelFormat& pf, int w, int h) {
if (!new_bitmap) {
int err = GetLastError();
- throw rdr::win32_error("unable to create DIB section", err);
+ throw rdr::win32_error("Unable to create DIB section", err);
}
vlog.debug("recreateBuffer()");