X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=blobdiff_plain;f=pctb%2Frgbimage.c;h=dfcd1808f25421ceb9223343c1d24618bbae2eef;hp=720e5dce78d398ed7f8fdfc8f1dde353a1532cf4;hb=5a8b5305bfbff13a3952e93d35e46c32b80c7606;hpb=8d6cf0f224b5df9866eba9350343067edcee78dd 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++; }