- if (next_token_copy(args, start_str, sizeof(start_str)) >= 0)
- ZOOM_options_set(options, "start", start_str);
-
- if (next_token_copy(args, count_str, sizeof(count_str)) >= 0)
- ZOOM_options_set(options, "count", count_str);
+ {
+ char start_str[30], count_str[30];
+ if (next_token_copy(args, start_str, sizeof(start_str)) > 0)
+ start = atoi(start_str);
+
+ if (next_token_copy(args, count_str, sizeof(count_str)) > 0)
+ count = atoi(count_str);
+
+ if (next_token_copy(args, render_str, sizeof(render_str)) > 0)
+ type = render_str;
+ }