Index: /issm/trunk-jpl/src/m/classes/boundary.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/boundary.m	(revision 25067)
+++ /issm/trunk-jpl/src/m/classes/boundary.m	(revision 25068)
@@ -98,7 +98,8 @@
 			label=getfieldvalue(options,'label','on');
 
-			if (exist(options,'epsg'),
-				if exist(options,'proj')), 
+			if exist(options,'epsg'),
+				if exist(options,'proj'),
 					error('Boundary plot error message: cannot specify epsg and proj at the same time for plot projection');
+				end
 				proj=epsg2proj(getfieldvalue(options,'epsg'));
 			elseif exist(options,'proj'),
@@ -186,7 +187,8 @@
 			label=getfieldvalue(options,'label','on');
 
-			if (exist(options,'epsg'),
-				if exist(options,'proj')), 
+			if exist(options,'epsg'),
+				if exist(options,'proj'),
 					error('Boundary plot error message: cannot specify epsg and proj at the same time for plot projection');
+				end
 				proj=epsg2proj(getfieldvalue(options,'epsg'));
 			elseif exist(options,'proj'),
