Changeset 30881


Ignore:
Timestamp:
11/08/14 12:24:30 (8 years ago)
Author:
obi
Message:

add debug for #233

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skin.h

    r30133 r30881  
    352352struct skin* getscreen(char* screenname)
    353353{
     354printf("a1: screenname: %s\n", screenname);
    354355        struct skin* node = skin;
    355356
     
    362363        }
    363364        err("screen not found %s", screenname);
     365printf("a2: screenname not found: %s\n", screenname);
    364366        return status.skinerr;
    365367}
     
    443445struct skin* sortscreenbyname(char *screenname)
    444446{
     447printf("b1\n");
    445448        struct skin* node = NULL;
    446449
     
    449452        else
    450453                node = getscreen(screenname);
    451 
     454printf("b2\n");
    452455        return sortscreen(node);
    453456}
     
    945948{
    946949        struct skin *node = NULL;
    947 
     950printf("c1\n");
    948951        if(strlen(screenname) == 0)
    949952                node = skin;
    950953        else
    951954                node = getscreen(screenname);
    952 
     955printf("c2\n");
    953956        return addscreennode(node, line, NULL);
    954957}
     
    10621065{
    10631066        struct skin *node = NULL;
    1064 
     1067printf("d1\n");
    10651068        node = getscreen(screenname);
     1069printf("d2\n");
    10661070        return getscreennode(node, nodename);
    10671071}
     
    12421246{
    12431247        struct skin *node = NULL;
    1244 
     1248printf("e1\n");
    12451249        if(strlen(screenname) == 0)
    12461250                node = skin;
    12471251        else
    12481252                node = getscreen(screenname);
    1249 
     1253printf("e2\n");
    12501254        delscreennode(node, nodename);
    12511255}
     
    12731277{
    12741278        struct skin *node = NULL;
     1279printf("f1\n");
    12751280        node = getscreen(screenname);
     1281printf("f2\n");
    12761282        delscreen(node);
    12771283}
     
    41184124        int ret;
    41194125        struct skin* node = NULL;
    4120 
     4126printf("g1\n");
    41214127        node = getscreen(screenname);
     4128printf("g2\n");
    41224129        if(node == status.skinerr)
    41234130        {
Note: See TracChangeset for help on using the changeset viewer.