Patch #642
string formatting of error #31
| Status: | Closed | Start: | 27 Jul 2009 | |
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 100% |
|
| Category: | miscellaneous | |||
| Target version: | 0.19 | Estimated time: | 0.50 hours | |
Description
exiv2 prints out "Writing to %2 images is not supported" when trying to write unsupported file types.
This should fix it:
This should fix it:
$ svn diff
Index: src/error.cpp
===================================================================
--- src/error.cpp (revision 1874)
+++ src/error.cpp (working copy)
@@ -78,7 +78,7 @@
{ 28, N_("Invalid charset: `%1'") }, // %1=charset name
{ 29, N_("Unsupported date format") },
{ 30, N_("Unsupported time format") },
- { 31, N_("Writing to %2 images is not supported") }, // %2=image format
+ { 31, N_("Writing to %1 images is not supported") }, // %1=image format
{ 32, N_("Setting %1 in %2 images is not supported") }, // %1=metadata type, %2=image format
{ 33, N_("This does not look like a CRW image") },
{ 34, N_("%1: Not supported") }, // %1=function
Associated revisions
#642: Applied patch from Matthias Barkhoff.
History
Updated by Andreas Huggel 226 days ago
- Status changed from New to Resolved
- Target version set to 0.19
- % Done changed from 0 to 100
Thanks for the patch!
Updated by Andreas Huggel 73 days ago
- Status changed from Resolved to Closed