mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Avoid VLA usage and prohibit it by compiler flag
This commit is contained in:
@@ -142,7 +142,7 @@ void showTextInputDialog(const std::string &hint, const std::string ¤t, in
|
||||
jhint, jcurrent, jeditType);
|
||||
}
|
||||
|
||||
void showComboBoxDialog(const std::string optionList[], s32 listSize, s32 selectedIdx)
|
||||
void showComboBoxDialog(const std::string *optionList, s32 listSize, s32 selectedIdx)
|
||||
{
|
||||
jmethodID showdialog = jnienv->GetMethodID(activityClass, "showSelectionInputDialog",
|
||||
"([Ljava/lang/String;I)V");
|
||||
|
Reference in New Issue
Block a user