~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/gui/widgets/textbox.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
            text.substr(lastNewlinePos, newlinePos - lastNewlinePos);
88
88
        size_t lastSpacePos = 0;
89
89
        xpos = 0;
90
 
        gcn::Font *const font = getFont();
 
90
        const gcn::Font *const font = getFont();
91
91
        const int spaceWidth = font->getWidth(" ");
92
92
        size_t sz = line.size();
93
93