We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ZkMenuItemInstance_getText
1 parent f589870 commit 9e6e8a4Copy full SHA for 9e6e8a4
src/daedalus/MenuItemInstance.cc
@@ -224,7 +224,7 @@ void ZkMenuItemInstance_setHideOnValue(ZkMenuItemInstance* slf, int32_t hideOnVa
224
ZkString ZkMenuItemInstance_getText(ZkMenuItemInstance const* slf, ZkSize i) {
225
ZKC_CHECK_NULL(slf);ZKC_CHECK_NULL(slf->get());
226
ZKC_CHECK_LENA(ZkMenuItemInstance_TextCount, i);
227
- return SLF->text->c_str();
+ return SLF->text[i].c_str();
228
}
229
230
void ZkMenuItemInstance_setText(ZkMenuItemInstance* slf, ZkSize i, ZkString text) {
0 commit comments