Changeset 1121 for trunk/libtransmission


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

File:
1 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 );
Note: See TracChangeset for help on using the changeset viewer.