Ignore:
Timestamp:
Oct 6, 2008 4:20:16 PM (16 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/AxisRange.h

    r1175 r1176  
    88    char *units_;
    99public:
    10     AxisRange(void) : min(0,0), max(1,0) {
     10    AxisRange(void) {
     11        min(0.0);
     12        max(1.0);
    1113        units_ = NULL;
    1214    }
     
    3840            delete [] units_;
    3941        }
    40         units_ = units;
    41         if (units != NULL) {
     42        if (units == NULL) {
     43            units_ = NULL;
     44        } else {
    4245            units_ = new char [strlen(units) + 1];
    4346            strcpy(units_, units);
Note: See TracChangeset for help on using the changeset viewer.