edit_curv(1:10) is KO due to []+1
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
When no figure already exists, edit_curv(1:10) yields an error
ERROR LOG:
----------
--> edit_curv(1:10)
operation +: Warning adding a matrix with the empty matrix will give an empty matrix result.
at line 13 of function scf ( C:\LOGICI~1\scilab\SCILAB~1.0-B\modules\graphics\macros\scf.sci line 24 )
at line 101 of function edit_curv ( C:\LOGICI~1\scilab\SCILAB~1.0-B\modules\graphics\macros\edit_curv.sci line 113 )
Wrong size for 'current_figure' property: A scalar expected.
HOW TO REPRODUCE THE BUG:
-------------------------
xdel(winsid())
edit_curv(1:10)
OTHER INFORMATION:
------------------