fprintf (fp, "%d\t\t# Instant dock: 0 = off, 1 = on\n", instant_dock);
fprintf (fp, "newscan.cfg\t# Name of scanner config file to use.\n");
+ fprintf (fp, "%d\t\t# Run in a window: 0 = off, 1 = on\n", prefer_window);
fclose (fp);
}
sscanf (str, "%d,%d", &compass_centre_x, &compass_centre_y);
compass_centre_y += 385;
+ read_cfg_line (str, sizeof(str), fp);
+ sscanf (str, "%d,%d,%d", &condition_x, &condition_y, &condition_r);
+ condition_y += 385;
+
+ read_cfg_line (str, sizeof(str), fp);
+ sscanf (str, "%d,%d", &zoom_x, &zoom_y);
+ zoom_y += 385;
+
fclose (fp);
}
read_cfg_line (str, sizeof(str), fp);
read_scanner_config_file (str);
+
+ read_cfg_line (str, sizeof(str), fp);
+ sscanf (str, "%d", &prefer_window);
fclose (fp);
}