Permalink
Browse files

if changed

  • Loading branch information...
1 parent 4e8cb63 commit 5880387a36bcd1cb69f755ae9215dd0ea9448bb7 @MarwanG MarwanG committed Jul 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/GParser.ml
View
4 src/GParser.ml
@@ -270,8 +270,8 @@ let parse_option (str:string) (i:int) =
in
(if (start > 1.0 || start < 0.0) then
raise (Option_Error (sprintf "incorrect zstart value %f => should be between 0 and 1" start))
- else
- global_options.zstart <- start);
+ else if not global_options.zstart_set then
+ global_options.zstart <- start);
advance str i' ";"
| _ -> raise (Parse_Error (sprintf "Uknown or unsupported option: %s" opt_id))

0 comments on commit 5880387

Please sign in to comment.