mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
small adjustments to inspector and check for utf-8 strings
This commit is contained in:
parent
48b0d28e26
commit
4c32f40f3b
3 changed files with 5 additions and 5 deletions
|
@ -192,13 +192,13 @@ int tr_metainfoParse( tr_info_t * inf, const char * path,
|
|||
snprintf( inf->trackerAnnounce, MAX_PATH_LENGTH, "%s", s2 );
|
||||
|
||||
/* Comment info */
|
||||
if( ( val = tr_bencDictFind( &meta, "comment" ) ) )
|
||||
if( ( val = tr_bencDictFind( beInfo, "comment.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "comment" ) ) )
|
||||
{
|
||||
strcatUTF8( inf->comment, val->val.s.s );
|
||||
}
|
||||
|
||||
/* Creator info */
|
||||
if( ( val = tr_bencDictFind( &meta, "created by" ) ) )
|
||||
if( ( val = tr_bencDictFind( beInfo, "created by.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "created by" ) ) )
|
||||
{
|
||||
strcatUTF8( inf->creator, val->val.s.s );
|
||||
}
|
||||
|
|
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -39,10 +39,10 @@
|
|||
#define TAB_OPTIONS_IDENT @"Options"
|
||||
|
||||
//15 spacing at the bottom of each tab
|
||||
#define TAB_INFO_HEIGHT 297.0
|
||||
#define TAB_INFO_HEIGHT 300.0
|
||||
#define TAB_ACTIVITY_HEIGHT 109.0
|
||||
#define TAB_PEERS_HEIGHT 260.0
|
||||
#define TAB_FILES_HEIGHT 260.0
|
||||
#define TAB_PEERS_HEIGHT 300.0
|
||||
#define TAB_FILES_HEIGHT 300.0
|
||||
#define TAB_OPTIONS_HEIGHT 83.0
|
||||
|
||||
#define INVALID -99
|
||||
|
|
Loading…
Reference in a new issue