changeset 12560:9f933cf29066 octave-forge

fix for attributes value with %-sign
author abarth93
date Fri, 20 Feb 2015 15:24:59 +0000
parents 4165b9354861
children 8476336c120c
files main/netcdf/inst/ncdisp.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/netcdf/inst/ncdisp.m	Fri Feb 13 12:13:52 2015 +0000
+++ b/main/netcdf/inst/ncdisp.m	Fri Feb 20 15:24:59 2015 +0000
@@ -149,7 +149,7 @@
   
   c = getfield(colors,color);
 
-  fprintf([c, msg, reset]);
+  fprintf('%s',[c, msg, reset]);
 else
-  fprintf(msg);
+  fprintf('%s',msg);
 end