chiark / gitweb /
in-building find island works
[ypp-sc-tools.main.git] / pctb / convert.c
index c79477f80394810b5ead5abe7644500379693945..2a8be9bcce424d30b8010c2e504b9648add37feb 100644 (file)
@@ -231,7 +231,7 @@ int main(int argc, char **argv) {
        o_outmode_kind= omk_none;
        o_flags |= ff_singlepage;
       } else {
-       o_outmode_kind= omk_str;
+       o_outmode_kind= omk_upload;
       }
     }
 
@@ -292,7 +292,7 @@ int main(int argc, char **argv) {
   }
   if (o_mode & mf_analyse) {
     if (o_flags & ff_needisland) {
-      find_islandname();
+      find_islandname(page0_rgbimage);
       if (o_flags & ff_printisland)
        printf("%s, %s\n", archipelago, island);
     }