comparison scripts/plot/private/__print_parse_opts__.m @ 15609:61d08b092a9d

Add correct typo ghostscript_binary -> ghostscript.binary. * scripts/plot/private/__print_parse_opts__.m: Correct typo. ghostscript_binary -> ghostscript.binary ("." not "_").
author Dmitri A. Sergatskov <dasergatskov@gmail.com>
date Mon, 12 Nov 2012 08:09:43 -0500
parents 147c81948626
children 550147454137
comparison
equal deleted inserted replaced
15608:147c81948626 15609:61d08b092a9d
138 arg_st.ghostscript.binary = file_in_path (getenv ("PATH"), arg(3:end)); 138 arg_st.ghostscript.binary = file_in_path (getenv ("PATH"), arg(3:end));
139 if (isempty (arg_st.ghostscript.binary)) 139 if (isempty (arg_st.ghostscript.binary))
140 error ("print: Ghostscript binary ""%s"" could not be located", 140 error ("print: Ghostscript binary ""%s"" could not be located",
141 arg(3:end)); 141 arg(3:end));
142 else 142 else
143 arg_st.ghostscript_binary = __quote_path__ (arg_st.ghostscript_binary); 143 arg_st.ghostscript.binary = __quote_path__ (arg_st.ghostscript.binary);
144 endif 144 endif
145 elseif (length (arg) > 2 && arg(1:2) == "-F") 145 elseif (length (arg) > 2 && arg(1:2) == "-F")
146 idx = rindex (arg, ":"); 146 idx = rindex (arg, ":");
147 if (idx) 147 if (idx)
148 arg_st.font = arg(3:idx-1); 148 arg_st.font = arg(3:idx-1);