disallow TOP_NEW_IMAGE add op

isolation_bkp/dynres
Dominik Madarász 2021-05-16 12:05:29 +02:00
parent de25878efb
commit 9ac94a33f2
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ void texed_draw_oplist_pane(zpl_aabb2 r) {
is_add_op_dropbox_open = true; is_add_op_dropbox_open = true;
zpl_memset(add_op_list, 0, sizeof(add_op_list)); zpl_memset(add_op_list, 0, sizeof(add_op_list));
for (int i = 0; i < DEF_OPS_LEN; i += 1) { for (int i = 1; i < DEF_OPS_LEN; i += 1) {
zpl_strcat(add_op_list, zpl_bprintf("%.*s%s", i == 0 ? 0 : 1, ";", default_ops[i].name)); zpl_strcat(add_op_list, zpl_bprintf("%.*s%s", i == 1 ? 0 : 1, ";", default_ops[i].name));
} }
} }