chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cope if very few commodities on screen. Use ADJUST_BOX much more.
[ypp-sc-tools.db-live.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index 9531da02626dfbd624135de41daaaab43ddbc8e9..8386c1609a0f68f85a0936a0df953b26c120f2c2 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-271,6
+271,8
@@
int main(int argc, char **argv) {
/* Actually do the work */
/* Actually do the work */
+ canon_colour_prepare();
+
if (o_mode & mf_findwindow) {
screenshot_startup();
find_yppclient_window();
if (o_mode & mf_findwindow) {
screenshot_startup();
find_yppclient_window();
@@
-297,7
+299,8
@@
int main(int argc, char **argv) {
open_screenshot_file("w");
if (o_flags & ff_singlepage) take_one_screenshot();
else take_screenshots();
open_screenshot_file("w");
if (o_flags & ff_singlepage) take_one_screenshot();
else take_screenshots();
- progress_log("OK for you to move the mouse now.");
+ progress_log("OK for you to move the mouse now, and you can"
+ " use the YPP client again.");
}
if (o_mode & mf_readscreenshot) {
if ((o_flags & ff_upload) && !(o_flags & ff_testservers))
}
if (o_mode & mf_readscreenshot) {
if ((o_flags & ff_upload) && !(o_flags & ff_testservers))
@@
-308,7
+311,7
@@
int main(int argc, char **argv) {
}
if (o_mode & mf_analyse) {
if (o_flags & ff_needisland) {
}
if (o_mode & mf_analyse) {
if (o_flags & ff_needisland) {
- find_islandname(
page_images[0]->rgb
);
+ find_islandname();
if (o_flags & ff_printisland)
printf("%s, %s\n", archipelago, island);
sysassert(! setenv("YPPSC_ISLAND",island,1) );
if (o_flags & ff_printisland)
printf("%s, %s\n", archipelago, island);
sysassert(! setenv("YPPSC_ISLAND",island,1) );