Mercurial > hg > octave-jordi
changeset 20842:f9a0bf346ec1
__fltk_uigetfile__.cc:codesprint: Remove class of fcn and return after error
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Sat, 12 Dec 2015 15:08:34 +0100 |
parents | e429ddca0d51 |
children | 75d09edcfc75 |
files | libinterp/dldfcn/__fltk_uigetfile__.cc |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__fltk_uigetfile__.cc +++ b/libinterp/dldfcn/__fltk_uigetfile__.cc @@ -46,7 +46,7 @@ DEFUN_DLD (__fltk_uigetfile__, args, , "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} __fltk_uigetfile__ (@dots{})\n\ +@deftypefn {} {} __fltk_uigetfile__ (@dots{})\n\ Undocumented internal function.\n\ @end deftypefn") { @@ -56,7 +56,7 @@ // args(0) ... FileFilter in fltk format // args(1) ... Title // args(2) ... Default Filename - // args(3) ... PostionValue [x,y] + // args(3) ... PositionValue [x,y] // args(4) ... SelectValue "on"/"off"/"dir"/"create" octave_value_list retval (3, octave_value (0)); @@ -141,8 +141,6 @@ error ("__fltk_uigetfile__: not available without OpenGL and FLTK libraries"); - return octave_value_list (); - #endif }