Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gThumb
Commits
043d1176
Commit
043d1176
authored
Dec 27, 2009
by
Paolo Bacchilega
Browse files
Remove the lang= prefix from the xmp text fields.
[bug #605499]
parent
8321eac9
Changes
1
Hide whitespace changes
Inline
Side-by-side
extensions/exiv2/exiv2-utils.cpp
View file @
043d1176
...
...
@@ -208,8 +208,15 @@ set_file_info (GFileInfo *info,
else
formatted_value_utf8
=
g_locale_to_utf8
(
formatted_value
,
-
1
,
NULL
,
NULL
,
NULL
);
}
else
formatted_value_utf8
=
g_locale_to_utf8
(
formatted_value
,
-
1
,
NULL
,
NULL
,
NULL
);
else
{
const
char
*
formatted_clean
;
if
(
strncmp
(
formatted_value
,
"lang="
,
5
)
==
0
)
formatted_clean
=
strchr
(
formatted_value
,
' '
)
+
1
;
else
formatted_clean
=
formatted_value
;
formatted_value_utf8
=
g_locale_to_utf8
(
formatted_clean
,
-
1
,
NULL
,
NULL
,
NULL
);
}
/*
g_print ("%s (%s): %s (%s)\n", key, description, formatted_value, raw_value);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment