changeset 12241:ef94fbed65aa octave-forge

Style fixes
author prnienhuis
date Sat, 28 Dec 2013 16:08:20 +0000
parents 1696f1b68d24
children 0bb42e44ef59
files main/io/inst/ods2oct.m
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/io/inst/ods2oct.m	Sat Dec 28 16:07:09 2013 +0000
+++ b/main/io/inst/ods2oct.m	Sat Dec 28 16:08:20 2013 +0000
@@ -129,13 +129,16 @@
 ## 2013-09-23 Updated copyright messages
 ## 2013-10-02 Some adaptations for gnumeric
 ## 2013-12-01 Style fixes
+## 2013-12-27 More style fixes
 ##
 ## Latest subfunc update: 2012-10-12
 
 function [ rawarr, ods, rstatus ] = ods2oct (ods, wsh=1, datrange=[], spsh_opts=[])
 
   ## Check if ods struct pointer seems valid
-  if (! isstruct (ods)); error ("File ptr struct expected for arg @ 1"); endif
+  if (! isstruct (ods))
+    error ("File ptr struct expected for arg @ 1"); 
+  endif
   test1 = ! isfield (ods, "xtype");
   test1 = test1 || ! isfield (ods, "workbook");
   test1 = test1 || isempty (ods.workbook);