diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-26 00:20:51 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-26 00:20:51 +0200 |
commit | eb1004715f9fa6a7700ea5165a1316f377e0b8f6 (patch) | |
tree | c24e504e123b49ff332309fe186f5b7cf3750638 /src/particlecontainer.cpp | |
parent | 70985f67295f3ee9e00487621e413b11287a20bf (diff) | |
download | mana-client-eb1004715f9fa6a7700ea5165a1316f377e0b8f6.tar.gz mana-client-eb1004715f9fa6a7700ea5165a1316f377e0b8f6.tar.bz2 mana-client-eb1004715f9fa6a7700ea5165a1316f377e0b8f6.tar.xz mana-client-eb1004715f9fa6a7700ea5165a1316f377e0b8f6.zip |
Guard against an issue where forced wrapping would never succeed
In some situations, like when wrapping the "]." part after an item link,
the attempt at forced-wrapping the text never succeeded. The additional
guard "end > start" protects against these cases.
Also made some small optimizations. Removed redundant c_str() calls,
noticed by Octalot, and changed " " to ' ' for finding a space.
Diffstat (limited to 'src/particlecontainer.cpp')
0 files changed, 0 insertions, 0 deletions