Changeset 1121


Ignore:
Timestamp:
Nov 23, 2006, 2:53:47 AM (15 years ago)
Author:
livings124
Message:

small adjustments to inspector and check for utf-8 strings

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r1119 r1121  
    193193   
    194194    /* Comment info */
    195     if( ( val = tr_bencDictFind( &meta, "comment" ) ) )
     195    if( ( val = tr_bencDictFind( beInfo, "comment.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "comment" ) ) )
    196196    {
    197197        strcatUTF8( inf->comment, val->val.s.s );
     
    199199   
    200200    /* Creator info */
    201     if( ( val = tr_bencDictFind( &meta, "created by" ) ) )
     201    if( ( val = tr_bencDictFind( beInfo, "created by.utf-8" ) ) || ( val = tr_bencDictFind( &meta, "created by" ) ) )
    202202    {
    203203        strcatUTF8( inf->creator, val->val.s.s );
  • trunk/macosx/InfoWindowController.m

    r1120 r1121  
    4040
    4141//15 spacing at the bottom of each tab
    42 #define TAB_INFO_HEIGHT 297.0
     42#define TAB_INFO_HEIGHT 300.0
    4343#define TAB_ACTIVITY_HEIGHT 109.0
    44 #define TAB_PEERS_HEIGHT 260.0
    45 #define TAB_FILES_HEIGHT 260.0
     44#define TAB_PEERS_HEIGHT 300.0
     45#define TAB_FILES_HEIGHT 300.0
    4646#define TAB_OPTIONS_HEIGHT 83.0
    4747
Note: See TracChangeset for help on using the changeset viewer.