X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Frgbimage.c;h=dfcd1808f25421ceb9223343c1d24618bbae2eef;hb=64063c86071bbfc2de0fe032e372e1321c4b34e5;hp=720e5dce78d398ed7f8fdfc8f1dde353a1532cf4;hpb=8d6cf0f224b5df9866eba9350343067edcee78dd;p=ypp-sc-tools.db-live.git diff --git a/pctb/rgbimage.c b/pctb/rgbimage.c index 720e5dc..dfcd180 100644 --- a/pctb/rgbimage.c +++ b/pctb/rgbimage.c @@ -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++; }