Hi, Op wo 29 mei 2019 20:27 schreef Bram Moolenaar <b...@moolenaar.net>:
> > Patch 8.1.1416 > Problem: Popup_getposition() not implemented yet. > Solution: Implement it. (Yasuhiro Matsumoto, closes #4449) > > + dict = rettv->vval.v_dict; > + dict_add_number(dict, "line", wp->w_winrow + 1); > + dict_add_number(dict, "col", wp->w_wincol + 1); > + dict_add_number(dict, "width", wp->w_width); > + dict_add_number(dict, "height", wp->w_height); > + } > + } > What happens if dict_add_number fails? Can it run out of memory when copying the string? Christ van Willegen > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CA%2BOt1OxPSxVtWey_BtTbS1QYmRths4YAhXENHsXKyLow2hogCA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.