Show
Ignore:
Timestamp:
14/01/10 15:10:39 (2 years ago)
Author:
westram
Message:
  • removed useless variable 'species_read'
  • fixed overflow if too many missing species in configuration
    • shortened error message (show only first 200 missing species)
  • moved some duplicated code into ED4_init_notFoundMessage / ED4_finish_and_show_notFoundMessage
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EDIT4/ED4_main.cxx

    r6347 r6353  
    5151int MAXINFOWIDTH;                                                       // # of pixels used to display sequence info ("CONS", "4data", etc.) 
    5252 
    53 long           ED4_counter = 0; 
    54 long           all_found;                                               // nr of species which haven't been found 
    55 long           species_read;                                            // nr of species read; important during loading 
     53long ED4_counter = 0; 
     54 
     55long           not_found_counter;                   // nr of species which haven't been found 
    5656GBS_strstruct *not_found_message; 
    57 long           max_seq_terminal_length;                                 // global maximum of sequence terminal length 
    58 ED4_EDITMODI   awar_edit_mode; 
    59 long           awar_edit_direction; 
    60 bool           move_cursor;                                             // only needed for editing in consensus 
    61 bool           DRAW; 
    62 bool           last_window_reached;                                     // needed for refreshing all windows (if TRUE refresh/...-flags will be cleared) 
     57 
     58long         max_seq_terminal_length;               // global maximum of sequence terminal length 
     59ED4_EDITMODI awar_edit_mode; 
     60long         awar_edit_direction; 
     61bool         move_cursor;                           // only needed for editing in consensus 
     62bool         DRAW; 
     63bool         last_window_reached;                   // needed for refreshing all windows (if TRUE refresh/...-flags will be cleared) 
    6364 
    6465void ED4_config_change_cb(AW_root *)