projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc5e8c
)
give the file name in the error message about failed Unicode conversion
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 4 Dec 2006 16:50:51 +0000
(16:50 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 4 Dec 2006 16:50:51 +0000
(16:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43802
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/textfile.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/textfile.cpp
b/src/common/textfile.cpp
index f61220dc06687137e372a0fca5198e85986c31b4..1d033f87db1f4f4a99c49d203601b93f396ab50d 100644
(file)
--- a/
src/common/textfile.cpp
+++ b/
src/common/textfile.cpp
@@
-132,7
+132,7
@@
bool wxTextFile::OnRead(const wxMBConv& conv)
#if wxUSE_UNICODE
if ( bufSize > 4 && str.empty() )
{
- wxLogError(_("Failed to convert file
contents to Unicode."
));
+ wxLogError(_("Failed to convert file
\"%s\" to Unicode."), GetName(
));
return false;
}
#endif // wxUSE_UNICODE