Maintenance: [forced, user-approved] Family D7 (resubmit of #10212, returned only for conflicts with newer main; regenerated on e6188
Batch #10213 by ragnarok-clanker: forced by an admin (38 lower score(s), 147 changed function(s)); checked with 352 compiled unit(s), including every includer of Source/Client/Mode/ModeDragState.h, Source/Client/Session.h, Source/Contents/Items/ItemDescription.h, Source/Contents/Items/ItemInfo.h, Source/Contents/Items/ItemLink.h, Source/Contents/Items/ItemResources.h, Source/UI/Shop/ItemDrawing.h, Source/UI/Shortcuts/ShortcutPainting.h, Source/UI/Shortcuts/ShortcutPress.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/Text/TextWrapping.h, Source/UI/Text/UIBalloonText.h, Source/UI/UIStaticItem.h.
This commit is contained in:
parent
e6188cbbc6
commit
3659ac2f71
62 changed files with 225 additions and 348 deletions
|
|
@ -81,7 +81,7 @@ namespace {
|
|||
// OFFSET: 0x009B4730
|
||||
// FUNCTION: fn_13833
|
||||
void WrapRichText(
|
||||
const char* text, std::vector<std::string>& lines, int width, bool carriageReturns, ItemDescriptions& items
|
||||
const char* text, std::vector<std::string>& lines, int width, bool carriageReturns
|
||||
) {
|
||||
const char* begin = text;
|
||||
const char* current = text;
|
||||
|
|
@ -141,7 +141,7 @@ void WrapRichText(
|
|||
|
||||
char name[260];
|
||||
int capacity = sizeof(name);
|
||||
items.Name(item, name, capacity, 0);
|
||||
item.sub_6D5810(name, capacity, 0);
|
||||
lines.emplace_back(name);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue