mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-23 11:17:03 -04:00
[ui] improve logging data
* Display the selected locate as well as LGP info in the log * Also fix some potential Coverity warnings
This commit is contained in:
parent
3924d2847d
commit
afec69c428
10 changed files with 73 additions and 38 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Rufus: The Reliable USB Formatting Utility
|
||||
* Localization functions, a.k.a. "Everybody is doing it wrong but me!"
|
||||
* Copyright © 2013-2016 Pete Batard <pete@akeo.ie>
|
||||
* Copyright © 2013-2017 Pete Batard <pete@akeo.ie>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -642,8 +642,6 @@ WORD get_language_id(loc_cmd* lcmd)
|
|||
wchar_t wlang[5];
|
||||
LANGID lang_id = GetUserDefaultUILanguage();
|
||||
|
||||
// Log will be reset, so we need to use the buffered uprintf() to get our messages to the user
|
||||
ubclear();
|
||||
if (lcmd == NULL)
|
||||
return MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue