mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
riched20: Removed more dead code.
This commit is contained in:
parent
c053bdb54a
commit
ddb5720118
@ -29,7 +29,7 @@ ME_DisplayItem *ME_FindRowStart(ME_Context *c, ME_DisplayItem *item,
|
||||
ME_DisplayItem *para = ME_GetParagraph(item);
|
||||
ME_MustBeWrapped(c, para);
|
||||
if(nRelPos<=0) { /* if this or preceding row */
|
||||
while(nRelPos<=0) {
|
||||
do {
|
||||
ME_DisplayItem *item2 = ME_FindItemBack(item, diStartRowOrParagraph);
|
||||
if (item2->type == diParagraph)
|
||||
{
|
||||
@ -50,8 +50,7 @@ ME_DisplayItem *ME_FindRowStart(ME_Context *c, ME_DisplayItem *item,
|
||||
}
|
||||
assert(0 == "bug in FindItemBack(item, diStartRowOrParagraph)");
|
||||
item = item2;
|
||||
}
|
||||
return item;
|
||||
} while(1);
|
||||
}
|
||||
while(nRelPos>0) { /* if one of the next rows */
|
||||
ME_DisplayItem *item2 = ME_FindItemFwd(item, diStartRowOrParagraph);
|
||||
|
Loading…
Reference in New Issue
Block a user