Fixed "-a auto".
SVN-Revision: 4982
out = new OFileStream(filename);
out_owned = true;
indent_depth = 0;
+ out->precision(10);
}
Writer::Writer(std::ostream* newout)
out = newout;
out_owned = false;
indent_depth = 0;
+ out->precision(10);
}
Writer::~Writer()
print_usage(argv[0]);
throw std::runtime_error("Need to specify a parameter for aspect switch");
}
- if(strcasecmp(argv[i], "auto") == 0) {
+ if(strcasecmp(argv[i+1], "auto") == 0) {
+ i++;
config->aspect_ratio = -1;
} else {
int aspect_width, aspect_height;