Show
Ignore:
Timestamp:
14/08/09 16:29:27 (3 years ago)
Author:
westram
Message:
  • spellchecked all (phew)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/PGT/image_dialog.cxx

    r5825 r6141  
    187187    for(spot_it= m_spotList.begin(); spot_it != m_spotList.end(); spot_it++) 
    188188    { 
    189 //         if((*spot_it).text) free((*spot_it).text); // DONT! POINTER TO DESCR.LIST!!! 
     189//         if((*spot_it).text) free((*spot_it).text); // DON'T! POINTER TO DESCR.LIST!!! 
    190190        if((*spot_it).id) free((*spot_it).id); 
    191191    } 
     
    278278    XtAddCallback(m_drawingArea, XmNexposeCallback, staticImageRedrawCallback, this); 
    279279 
    280     // CALLBACK FOR DRAWING AREA: IF A MOUSE (KEYBOARD) EVENT OCCURED 
     280    // CALLBACK FOR DRAWING AREA: IF A MOUSE (KEYBOARD) EVENT OCCURRED 
    281281    XtAddCallback(m_drawingArea, XmNinputCallback, staticImageEventCallback, this); 
    282282 
     
    13601360    m_hasImagedata= true; 
    13611361 
    1362     // FREE OUR GC AS WE DONT NEED IT ANYMORE 
     1362    // FREE OUR GC AS WE DON'T NEED IT ANYMORE 
    13631363    XFreeGC(display, gc); 
    13641364 
     
    13971397    XCopyArea(display, m_pixmap, window, gc, 0, 0, m_width, m_height, 0, 0); 
    13981398 
    1399     // FREE OUR GC AS WE DONT NEED IT ANYMORE 
     1399    // FREE OUR GC AS WE DON'T NEED IT ANYMORE 
    14001400    XFreeGC(display, gc); 
    14011401} 
     
    19741974    getSettings(); 
    19751975 
    1976     // SPOT LIST MAY HAVE CHANGED ASWELL - CREATE A NEW ONE... 
     1976    // SPOT LIST MAY HAVE CHANGED AS WELL - CREATE A NEW ONE... 
    19771977    createDescriptions(); 
    19781978    createSpotList(); 
     
    20732073    for(spot_it= m_spotList.begin(); spot_it != m_spotList.end(); ++spot_it) 
    20742074    { 
    2075 //         if((*spot_it).text) free((*spot_it).text); // DONT! ALSO POINTER TO DESCR.LIST!!! 
     2075//         if((*spot_it).text) free((*spot_it).text); // DON'T! ALSO POINTER TO DESCR.LIST!!! 
    20762076        if((*spot_it).id) free((*spot_it).id); 
    20772077    } 
     
    21702170 
    21712171    // FETCH NECESSARY AWARS 
    2172     char *awar_protein_infos= get_CONFIG(CONFIG_PGT_INFO_PROTEIN); 
    2173     char *awar_gene_infos=    get_CONFIG(CONFIG_PGT_INFO_GENE); 
     2172    char *awar_protein_information= get_CONFIG(CONFIG_PGT_INFO_PROTEIN); 
     2173    char *awar_gene_information=    get_CONFIG(CONFIG_PGT_INFO_GENE); 
    21742174    char *awar_protein_id=    get_CONFIG(CONFIG_PGT_ID_PROTEIN); 
    21752175    char *awar_gene_id=       get_CONFIG(CONFIG_PGT_ID_GENE); 
    21762176    char *awar_protein_x=     const_cast<char*>("x_coordinate"); // DEBUG - HARDCODED 
    21772177    char *awar_protein_y=     const_cast<char*>("y_coordinate"); // DEBUG - HARDCODED 
    2178     if(!awar_protein_infos || !awar_gene_infos || 
     2178    if(!awar_protein_information || !awar_gene_information || 
    21792179       !awar_protein_id || !awar_gene_id) return false; 
    21802180 
     
    22492249//         if((id && (strlen(id) > 0)) || ((x + y) != 0)) 
    22502250//         { 
    2251             strncpy(buf, awar_protein_infos, 1023); 
     2251            strncpy(buf, awar_protein_information, 1023); 
    22522252            token= strtok(buf, ",; "); 
    22532253            while(token) 
     
    22872287            if(gb_gene) 
    22882288            { 
    2289                 strncpy(buf, awar_gene_infos, 1023); 
     2289                strncpy(buf, awar_gene_information, 1023); 
    22902290                token= strtok(buf, ",; "); 
    22912291                while(token)