Show
Ignore:
Timestamp:
05/19/10 21:32:40 (14 years ago)
Author:
smidl
Message:

New class defaults + correction of log_level save

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.h

    r960 r962  
    512512        { 
    513513                // HERE WE WANT NOT TO DELETE PREVIOUS DATA STORED BY OTHER LOG_LEVELS, SEE SPECIAL IMPLEMENTATION OF UI::GET(...) FOR THIS CLASS 
    514                 string string_to_write =  ( const char* ) element; 
     514                const char* ch_elem=( const char* ) element; 
     515                string string_to_write; 
     516                if (ch_elem) 
     517                        string_to_write=ch_elem; 
     518                else 
     519                        string_to_write=""; 
    515520 
    516521                for( unsigned int i = 0; i < this->values.size(); i++ )