Changed output of GetCurrentRadix to match the variable type of m_radix (#1416)
Co-authored-by: PokeCodec <67983839+PokeCodec@users.noreply.github.com>
This commit is contained in:
parent
dd9d948408
commit
13d8b04d8d
@ -1045,7 +1045,7 @@ bool CCalcEngine::IsCurrentTooBigForTrig()
|
||||
return m_currentVal >= m_maxTrigonometricNum;
|
||||
}
|
||||
|
||||
int CCalcEngine::GetCurrentRadix()
|
||||
uint32_t CCalcEngine::GetCurrentRadix()
|
||||
{
|
||||
return m_radix;
|
||||
}
|
||||
|
@ -534,7 +534,7 @@ namespace CalculationManager
|
||||
vector<wstring> resultVector;
|
||||
for (auto const& memoryItem : m_memorizedNumbers)
|
||||
{
|
||||
int radix = m_currentCalculatorEngine->GetCurrentRadix();
|
||||
auto radix = m_currentCalculatorEngine->GetCurrentRadix();
|
||||
wstring stringValue = m_currentCalculatorEngine->GetStringForDisplay(memoryItem, radix);
|
||||
|
||||
if (!stringValue.empty())
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
}
|
||||
void SettingsChanged();
|
||||
bool IsCurrentTooBigForTrig();
|
||||
int GetCurrentRadix();
|
||||
uint32_t GetCurrentRadix();
|
||||
std::wstring GetCurrentResultForRadix(uint32_t radix, int32_t precision, bool groupDigitsPerRadix);
|
||||
void ChangePrecision(int32_t precision)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user