Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2006, 5:27:29 PM (18 years ago)
Author:
bensch
Message:

dots at the beginning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/graphics/text_engine/limited_width_text.cc

    r8542 r8543  
    141141      }
    142142      break;
     143
    143144    case Begin:
    144       for (unsigned int i = this->text().size() - 1; i < 0; i--)
     145      int i = text().size() -1;
     146      for (; i >= 0; --i)
    145147      {
    146148        if (width + dotsSize > maxWidth )
     
    157159  }
    158160
     161  printf("%f %s\n", width, _dotedText.c_str());
    159162  this->setSizeX2D(width * this->size());
    160163}
Note: See TracChangeset for help on using the changeset viewer.