diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:33:19 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:33:19 +0200 |
commit | 86750633ff7c5d8836b751148234ab94e132b0a5 (patch) | |
tree | fda8c8e5f392c9b854435c7bb63812f242918842 /vncviewer | |
parent | e83b14a0e01fc7563372bf9571973e7c613941a0 (diff) | |
download | tigervnc-86750633ff7c5d8836b751148234ab94e132b0a5.tar.gz tigervnc-86750633ff7c5d8836b751148234ab94e132b0a5.zip |
Use the same style for exception messages
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/OSXPixelBuffer.cxx | 2 | ||||
-rw-r--r-- | vncviewer/X11PixelBuffer.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vncviewer/OSXPixelBuffer.cxx b/vncviewer/OSXPixelBuffer.cxx index df82c86f..a3ee9d0d 100644 --- a/vncviewer/OSXPixelBuffer.cxx +++ b/vncviewer/OSXPixelBuffer.cxx @@ -47,7 +47,7 @@ OSXPixelBuffer::OSXPixelBuffer(int width, int height) : data = new rdr::U8[width * height * format.bpp/8]; if (data == NULL) - throw rfb::Exception(_("Error: Not enough memory for framebuffer")); + throw rfb::Exception(_("Not enough memory for framebuffer")); lut = CGColorSpaceCreateDeviceRGB(); assert(lut); diff --git a/vncviewer/X11PixelBuffer.cxx b/vncviewer/X11PixelBuffer.cxx index b729e800..d84357c4 100644 --- a/vncviewer/X11PixelBuffer.cxx +++ b/vncviewer/X11PixelBuffer.cxx @@ -57,7 +57,7 @@ static PixelFormat display_pf() if (format[i].depth == fl_visual->depth) break; if (i == nformats) - throw rfb::Exception(_("Error: display lacks pixmap format for default depth")); + throw rfb::Exception(_("Display lacks pixmap format for default depth")); switch (format[i].bits_per_pixel) { case 8: @@ -66,7 +66,7 @@ static PixelFormat display_pf() bpp = format[i].bits_per_pixel; break; default: - throw rfb::Exception(_("Error: couldn't find suitable pixmap format")); + throw rfb::Exception(_("Couldn't find suitable pixmap format")); } XFree(format); @@ -75,7 +75,7 @@ static PixelFormat display_pf() trueColour = (fl_visual->c_class == TrueColor); if (!trueColour) - throw rfb::Exception(_("Error: only true colour displays supported")); + throw rfb::Exception(_("Only true colour displays supported")); vlog.info(_("Using default colormap and visual, %sdepth %d."), (fl_visual->c_class == TrueColor) ? "TrueColor, " : |