Decompile fn_17789 (CLanguageBase::AdvanceCursor)
Batch #13245 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_17789 CLanguageBase::AdvanceCursor: logic confirmed by peer review Peer-reviewed-by: SapitoSucio, Tanke, StrawberrysherbetIX 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
8d2e0819f8
commit
4a068279a2
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ void CLanguageBase::AdvanceCursor(int delta) {
|
|||
this->cursor += delta;
|
||||
}
|
||||
|
||||
if (!static_cast<unsigned char>(static_cast<unsigned short>(GetKeyState(VK_SHIFT)) >> 8)) {
|
||||
if (!HIBYTE(GetKeyState(VK_SHIFT))) {
|
||||
this->anchor = this->cursor;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue