mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Avoid VLA usage and prohibit it by compiler flag
This commit is contained in:
@@ -27,7 +27,7 @@ void showTextInputDialog(const std::string &hint, const std::string ¤t, in
|
||||
* @param listSize Size of the list
|
||||
* @param selectedIdx Selected index
|
||||
*/
|
||||
void showComboBoxDialog(const std::string optionList[], s32 listSize, s32 selectedIdx);
|
||||
void showComboBoxDialog(const std::string *optionList, s32 listSize, s32 selectedIdx);
|
||||
|
||||
/**
|
||||
* Opens a share intent to the file at path
|
||||
|
Reference in New Issue
Block a user