exif strings were not trimmed correctly
drop_tail() missed the final "()"
This commit is contained in:
parent
f725d7efab
commit
8891d6dc29
@ -811,8 +811,8 @@ drop_tail( const char *data )
|
|||||||
|
|
||||||
p = str + strlen( str );
|
p = str + strlen( str );
|
||||||
if( p > str &&
|
if( p > str &&
|
||||||
*(p = g_utf8_prev_char( p )) == ')' &&
|
*g_utf8_prev_char( p ) == ')' &&
|
||||||
(p = g_utf8_strrchr( p, -1, (gunichar) '(')) &&
|
(p = g_utf8_strrchr( str, -1, (gunichar) '(')) &&
|
||||||
p > str &&
|
p > str &&
|
||||||
*(p = g_utf8_prev_char( p )) == ' ' )
|
*(p = g_utf8_prev_char( p )) == ' ' )
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user