Changeset 41724


Ignore:
Timestamp:
Jan 14, 2018, 6:56:30 PM (2 years ago)
Author:
gost
Message:

[plugins] lcdsamsung fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/lcdsamsung/lcdsamsung.c

    r41687 r41724  
    184184        int weatherref = 0;
    185185        char* startlcd = NULL;
     186        char* bild = NULL;
    186187       
    187188        printf("lcd_samsung thread started\n");
     
    344345                LCD_Music = getscreen("LCD_spf87_Music");
    345346               
    346         struct skin* mthumb = getscreennode(LCD_Music, "thumb");
    347         struct skin* mtitle = getscreennode(LCD_Music, "title");
    348         struct skin* malbum = getscreennode(LCD_Music, "album");
    349         struct skin* mrealname = getscreennode(LCD_Music, "realname");
    350         struct skin* mgenre = getscreennode(LCD_Music, "genre");
    351         struct skin* myear = getscreennode(LCD_Music, "year");
     347        struct skin* mthumb = getscreennode(LCD_Music, "lthumb");
     348        struct skin* mtitle = getscreennode(LCD_Music, "ltitle");
     349        struct skin* malbum = getscreennode(LCD_Music, "lalbum");
     350        struct skin* mactors = getscreennode(LCD_Music, "lactors");
     351        struct skin* mrealname = getscreennode(LCD_Music, "lrealname");
     352        struct skin* mgenre = getscreennode(LCD_Music, "lgenre");
     353        struct skin* myear = getscreennode(LCD_Music, "lyear");
    352354        struct skin* makttimeplay = getscreennode(LCD_Music, "akttime");
    353355        struct skin* mprogress = getscreennode(LCD_Music, "progress");
     
    10001002                                        changetext(mgenre, musicdat.genre);
    10011003                                        changetext(myear, musicdat.year);
     1004                                        changetext(mactors, musicdat.actors);
    10021005                                       
    1003                                         changepic(mthumb, musicdat.thumb);
     1006                                        free(bild); bild = NULL;
     1007                                        bild = ostrcat(musicdat.thumb, NULL, 0, 0);
     1008                                        changepic(mthumb, bild);
    10041009                                       
    10051010                                        m_lock(&status.drawingmutex, 0);
Note: See TracChangeset for help on using the changeset viewer.