mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Switched from _snwprintf_s to _itow_s where possible.
This commit is contained in:
@ -71,7 +71,7 @@ extern CRainmeter* Rainmeter;
|
||||
** The constructor
|
||||
**
|
||||
*/
|
||||
CMeasure::CMeasure(CMeterWindow* meterWindow, const WCHAR* name) : m_MeterWindow(meterWindow), m_Name(name), m_ANSIName(ConvertToAscii(name)),
|
||||
CMeasure::CMeasure(CMeterWindow* meterWindow, const WCHAR* name) : m_MeterWindow(meterWindow), m_Name(name), m_AsciiName(ConvertToAscii(name)),
|
||||
m_DynamicVariables(false),
|
||||
m_Invert(false),
|
||||
m_LogMaxValue(false),
|
||||
@ -650,7 +650,7 @@ const WCHAR* CMeasure::GetStringValue(AUTOSCALE autoScale, double scale, int dec
|
||||
|
||||
if (decimals == 0)
|
||||
{
|
||||
_snwprintf_s(buffer, _TRUNCATE, L"%i", (int)val);
|
||||
_itow_s((int)val, buffer, 10);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user