mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 03:39:56 +00:00
(Qt) Fix setting value size (#17332)
This commit is contained in:
parent
7161069cfc
commit
0dcf196ee3
@ -454,7 +454,7 @@ StringComboBox::StringComboBox(rarch_setting_t *setting, QWidget *parent) :
|
||||
|
||||
void StringComboBox::onCurrentTextChanged(const QString &text)
|
||||
{
|
||||
strlcpy(m_value, text.toUtf8().data(), sizeof(m_value));
|
||||
strlcpy(m_value, text.toUtf8().data(), m_setting->size);
|
||||
|
||||
setting_generic_handle_change(m_setting);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user