# HG changeset patch # User Andreas Weber # Date 1449929314 -3600 # Node ID f9a0bf346ec11c92be69b3508613be2da1acacf6 # Parent e429ddca0d512947771d0999d825e6e48297edd3 __fltk_uigetfile__.cc:codesprint: Remove class of fcn and return after error diff -r e429ddca0d51 -r f9a0bf346ec1 libinterp/dldfcn/__fltk_uigetfile__.cc --- a/libinterp/dldfcn/__fltk_uigetfile__.cc Fri Dec 11 11:40:31 2015 -0500 +++ b/libinterp/dldfcn/__fltk_uigetfile__.cc Sat Dec 12 15:08:34 2015 +0100 @@ -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 }