chiark / gitweb /
update .gitignore for new filenames
[ypp-sc-tools.web-live.git] / pctb / rgbimage.c
index 720e5dce78d398ed7f8fdfc8f1dde353a1532cf4..dfcd1808f25421ceb9223343c1d24618bbae2eef 100644 (file)
@@ -51,7 +51,7 @@
 static int identify1(const RgbImage *base, Rect portion,
                    char result[MAXIMGIDENT], const char *what,
                    const char *which) {
-  char *dbfile_name= masprintf("#%s-pixmap#.txt",which);
+  char *dbfile_name= masprintf("_%s-pixmap.txt",which);
   if (!dbfile_open(dbfile_name))
     goto not_found;
 
@@ -146,7 +146,8 @@ void identify_rgbimage(const RgbImage *base, Rect portion,
   static int synced;
 
   if (!synced) {
-    fetch_with_rsync("pixmap");
+    if (o_flags & ff_dict_fetch)
+      fetch_with_rsync("pixmap");
     synced++;
   }