From add95ac3784725e1870429ce6763b4548335cda2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 13 Mar 2000 17:22:49 +0000 Subject: [PATCH] replaced 'wxPCX/GIFHandler:' by 'PCX/GIF:' in error messages -- these are for users, should not reveal internals git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imaggif.cpp | 10 +++++----- src/common/imagpcx.cpp | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/common/imaggif.cpp b/src/common/imaggif.cpp index 717e967390..e152a6cbda 100644 --- a/src/common/imaggif.cpp +++ b/src/common/imaggif.cpp @@ -55,13 +55,13 @@ bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose switch (error) { case wxGIF_INVFORMAT: - wxLogError(_("wxGIFHandler: error in GIF image format.")); + wxLogError(_("GIF: error in GIF image format.")); break; case wxGIF_MEMERR: - wxLogError(_("wxGIFHandler: not enough memory.")); + wxLogError(_("GIF: not enough memory.")); break; default: - wxLogError(_("wxGIFHandler: unknown error!!!")); + wxLogError(_("GIF: unknown error!!!")); break; } } @@ -71,7 +71,7 @@ bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose if ((error == wxGIF_TRUNCATED) && verbose) { - wxLogError(_("wxGIFHandler: data stream seems to be truncated.")); + wxLogError(_("GIF: data stream seems to be truncated.")); /* go on; image data is OK */ } @@ -85,7 +85,7 @@ bool wxGIFHandler::SaveFile( wxImage * WXUNUSED(image), wxOutputStream& WXUNUSED(stream), bool verbose ) { if (verbose) - wxLogDebug(wxT("wxGIFHandler is read-only!!")); + wxLogDebug(wxT("GIF: the handler is read-only!!")); return FALSE; } diff --git a/src/common/imagpcx.cpp b/src/common/imagpcx.cpp index 3b806c35f4..0f1db27714 100644 --- a/src/common/imagpcx.cpp +++ b/src/common/imagpcx.cpp @@ -444,10 +444,10 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose { switch (error) { - case wxPCX_INVFORMAT: wxLogError(_("wxPCXHandler: image format unsupported")); break; - case wxPCX_MEMERR: wxLogError(_("wxPCXHandler: couldn't allocate memory")); break; - case wxPCX_VERERR: wxLogError(_("wxPCXHandler: version number too low")); break; - default: wxLogError(_("wxPCXHandler: unknown error !!!")); + case wxPCX_INVFORMAT: wxLogError(_("PCX: image format unsupported")); break; + case wxPCX_MEMERR: wxLogError(_("PCX: couldn't allocate memory")); break; + case wxPCX_VERERR: wxLogError(_("PCX: version number too low")); break; + default: wxLogError(_("PCX: unknown error !!!")); } } image->Destroy(); @@ -467,9 +467,9 @@ bool wxPCXHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos { switch (error) { - case wxPCX_INVFORMAT: wxLogError(_("wxPCXHandler: invalid image")); break; - case wxPCX_MEMERR: wxLogError(_("wxPCXHandler: couldn't allocate memory")); break; - default: wxLogError(_("wxPCXHandler: unknown error !!!")); + case wxPCX_INVFORMAT: wxLogError(_("PCX: invalid image")); break; + case wxPCX_MEMERR: wxLogError(_("PCX: couldn't allocate memory")); break; + default: wxLogError(_("PCX: unknown error !!!")); } } } -- 2.45.2