summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b748047)
raw | patch | inline | side by side (parent: b748047)
author | cyreve <cyreve@users.sourceforge.net> | |
Sat, 26 Jan 2008 13:19:14 +0000 (13:19 +0000) | ||
committer | cyreve <cyreve@users.sourceforge.net> | |
Sat, 26 Jan 2008 13:19:14 +0000 (13:19 +0000) |
src/libnrtype/TextWrapper.cpp | patch | blob | history |
index ce8797322b1bd6790e669c2ea137bfa830e0866f..c818bcab3526fb7deb9f2f523589f6cae141053f 100644 (file)
last_s_st = i;
}
// paragraphs
- if ( uni32_text[i] == '\n' || uni32_text[i] == '\r' || i == nAttr ) { // too simple to be true?
+ if ( i == nAttr || uni32_text[i] == '\n' || uni32_text[i] == '\r' ) { // too simple to be true?
nbs.type = nbe.type = bnd_para;
nbs.uni_pos = last_p_st;
nbe.uni_pos = i + 1;