changeset 14439:b06010f12183

__print_parse_opts__.m: Use single quotes to simplify code. * __print_parse_opts__.m: Use single quotes to simplify code.
author Rik <octave@nomad.inbox5.com>
date Tue, 06 Mar 2012 09:48:34 -0800
parents 6a8c3cd326fd
children c1f9b54350f9
files scripts/plot/private/__print_parse_opts__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/private/__print_parse_opts__.m	Mon Mar 05 21:05:37 2012 -0800
+++ b/scripts/plot/private/__print_parse_opts__.m	Tue Mar 06 09:48:34 2012 -0800
@@ -431,7 +431,7 @@
         cmd = strrep (cmd, "/", "\\");
       endif
       if (any (cmd == " "))
-        cmd = strcat ("""", strrep (cmd, """", """"""), """");
+        cmd = strcat ('"', strrep (cmd, '"', '""') ,'"');
       endif
     endif
   endif