chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cope with subpixel antialiasing (urgh)
[ypp-sc-tools.db-test.git]
/
pctb
/
rgbimage.c
diff --git
a/pctb/rgbimage.c
b/pctb/rgbimage.c
index 720e5dce78d398ed7f8fdfc8f1dde353a1532cf4..dfcd1808f25421ceb9223343c1d24618bbae2eef 100644
(file)
--- 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) {
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;
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) {
static int synced;
if (!synced) {
- fetch_with_rsync("pixmap");
+ if (o_flags & ff_dict_fetch)
+ fetch_with_rsync("pixmap");
synced++;
}
synced++;
}