diff scripts/plot/private/__print_parse_opts__.m @ 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 61cc4c715962
children ad542fdd8c8f
line wrap: on
line diff
--- a/scripts/plot/private/__print_parse_opts__.m
+++ b/scripts/plot/private/__print_parse_opts__.m
@@ -431,7 +431,7 @@
         cmd = strrep (cmd, "/", "\\");
       endif
       if (any (cmd == " "))
-        cmd = strcat ("""", strrep (cmd, """", """"""), """");
+        cmd = strcat ('"', strrep (cmd, '"', '""') ,'"');
       endif
     endif
   endif