Decompile fn_12234 (UINotifyItemObtainWnd::Paint)
Batch #9320 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_12234 UINotifyItemObtainWnd::Paint: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Bielhp, seumadruga Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
2251fe1bad
commit
8dca2eb5f7
1 changed files with 4 additions and 4 deletions
|
|
@ -5775,12 +5775,12 @@ void UINotifyItemObtainWnd::Paint() {
|
|||
}
|
||||
|
||||
const int kind = this->m_kind;
|
||||
const int width = this->geometry.width;
|
||||
const int width = this->geometry.width - 49;
|
||||
char text[256];
|
||||
char* cursor = text;
|
||||
std::size_t remaining = sizeof(text);
|
||||
char* highlight = nullptr;
|
||||
char* cursor = text;
|
||||
std::vector<char*> breaks;
|
||||
std::size_t remaining = sizeof(text);
|
||||
int highlightColor;
|
||||
this->BuildItemName(&this->m_item, &highlightColor, &breaks, &cursor, &remaining, &highlight, 1, 0);
|
||||
|
||||
|
|
@ -5791,7 +5791,7 @@ void UINotifyItemObtainWnd::Paint() {
|
|||
breaks.push_back(cursor);
|
||||
}
|
||||
|
||||
this->DrawItemNameSegments(kind == 0 ? 41 : 13, 10, width - 49, breaks, text, highlight, highlightColor, 0, 0, 12);
|
||||
this->DrawItemNameSegments(kind == 0 ? 41 : 13, 10, width, breaks, text, highlight, highlightColor, 0, 0, 12);
|
||||
}
|
||||
|
||||
// OFFSET: 0x008EB010
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue