mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-19 17:35:10 -04:00
[ui] fix log no longer automatically scrolling to the last line
* Introduced in 369a392af0
because, of course when Microsoft has a
call that goes (###, param1, param2) they define a macro for it that goes (param2, param1)...
This commit is contained in:
parent
3a150ddeda
commit
65f5ccd28b
2 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ void _uprintf(const char *format, ...)
|
|||
Edit_ReplaceSel(hLog, wbuf);
|
||||
// Make sure the message scrolls into view
|
||||
// (Or see code commented in LogProc:WM_SHOWWINDOW for a less forceful scroll)
|
||||
Edit_Scroll(hLog, 0, Edit_GetLineCount(hLog));
|
||||
Edit_Scroll(hLog, Edit_GetLineCount(hLog), 0);
|
||||
}
|
||||
free(wbuf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue