Index: /trunk/src/compile.m
===================================================================
--- /trunk/src/compile.m	(revision 1033)
+++ /trunk/src/compile.m	(revision 1034)
@@ -25,5 +25,7 @@
 
 function compile (FctName,SubfctPath)
+
 hh=[]; % handles of message display window
+
 if isempty(which('mcc'))
     msgbox_uvmat('ERROR','no Matlab compiler toolbox mcc installed')
@@ -32,5 +34,7 @@
     hh=msgbox_uvmat('WAITING...',['compilation of ' FctName ' in progress...']);
 end
+
 disp(['compiling ' FctName ' ...'])
+
 % commands to compile civ_matlab and eventually other functions
 if ~exist('bin','dir')
@@ -40,10 +44,13 @@
     end
 end
+
 if ~isempty(SubfctPath)
     SubfctPath=['-I ' SubfctPath]; % string indicating the option of including the path SubfctPath
 end
+
 [mcrmajor, mcrminor] = mcrversion;   
 MCRROOT = ['MCRROOT',int2str(mcrmajor),int2str(mcrminor)];
 FctNameVersion=[FctName,'_',MCRROOT];
+
 try
     disp(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m'])
@@ -56,7 +63,9 @@
     hh=msgbox_uvmat('ERROR',ME.message);
 end
+
 display('** END **')
+
 if ~isempty(hh)
-delete(hh)
+    delete(hh)
 end
 
