riched20: Remove variable changed which is not really used from ME_PrepareParagraphForWrapping.

This commit is contained in:
Gerald Pfeifer 2010-05-01 22:35:31 +02:00 committed by Alexandre Julliard
parent 7cdcdf781e
commit 14ef0fed9c

View file

@ -578,14 +578,12 @@ static void ME_PrepareParagraphForWrapping(ME_Context *c, ME_DisplayItem *tp) {
}
/* join runs that can be joined, set up flags */
for (p = tp->next; p!=tp->member.para.next_para; p = p->next) {
int changed = 0;
switch(p->type) {
case diStartRow: assert(0); break; /* should have deleted it */
case diRun:
while (p->next->type == diRun) { /* FIXME */
if (ME_CanJoinRuns(&p->member.run, &p->next->member.run)) {
ME_JoinRuns(c->editor, p);
changed = 1;
}
else
break;