Mercurial > hg > octave-lyh
comparison scripts/@ftp/loadobj.m @ 11104:2c356a35d7f5
fix copyright notices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 17 Oct 2010 23:43:42 -0400 |
parents | 4bf50a7d533b |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11103:d4fc294a19e4 | 11104:2c356a35d7f5 |
---|---|
1 ## Copyright (C) 2009 David Bateman | 1 ## Copyright (C) 2009 David Bateman |
2 ## | 2 ## |
3 ## This program is free software; you can redistribute it and/or modify | 3 ## This file is part of Octave. |
4 ## it under the terms of the GNU General Public License as published by | |
5 ## the Free Software Foundation; either version 2 of the License, or | |
6 ## (at your option) any later version. | |
7 ## | 4 ## |
8 ## This program is distributed in the hope that it will be useful, | 5 ## Octave is free software; you can redistribute it and/or modify it |
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of | 6 ## under the terms of the GNU General Public License as published by |
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 7 ## the Free Software Foundation; either version 3 of the License, or (at |
11 ## GNU General Public License for more details. | 8 ## your option) any later version. |
9 ## | |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
12 ## | 14 ## |
13 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
14 ## along with this program; If not, see <http://www.gnu.org/licenses/>. | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | |
15 | 18 |
16 function b = loadobj (a) | 19 function b = loadobj (a) |
17 b = a; | 20 b = a; |
18 if (isfield (b, "jobject")) | 21 if (isfield (b, "jobject")) |
19 b = rmfield (b, "jobject"); | 22 b = rmfield (b, "jobject"); |