Revision: 1848
http://geeqie.svn.sourceforge.net/geeqie/?rev=1848&view=rev
Author: nadvornik
Date: 2009-09-12 16:37:05 +0000 (Sat, 12 Sep 2009)
Log Message:
-----------
strip the "lang=" prefix from exiv2 in all metadata formats
Modified Paths:
--------------
trunk/src/exiv2.cc
Modified: trunk/src/exiv2.cc
===================================================================
--- trunk/src/exiv2.cc 2009-09-12 16:03:09 UTC (rev 1847)
+++ trunk/src/exiv2.cc 2009-09-12 16:37:05 UTC (rev 1848)
@@ -1009,12 +1009,12 @@
else
{
str = item.toString();
- if (str.length() > 5 && str.substr(0, 5) == "lang=")
- {
- std::string::size_type pos =
str.find_first_of(' ');
- if (pos != std::string::npos) str =
str.substr(pos+1);
- }
}
+ if (str.length() > 5 && str.substr(0, 5) == "lang=")
+ {
+ std::string::size_type pos = str.find_first_of(' ');
+ if (pos != std::string::npos) str = str.substr(pos+1);
+ }
list = g_list_append(list,
utf8_validate_or_convert(str.c_str()));
#if EXIV2_TEST_VERSION(0,16,0)
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn