diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/urldb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/urldb.c b/content/urldb.c index a803f5727..e9bbb9012 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -425,6 +425,13 @@ void urldb_load(const char *filename) /* ensure filename is 'XX.XX.XX.XX' */ if ((s[2] == '.') && (s[5] == '.') && (s[8] == '.')) { + s[2] = '/'; + s[5] = '/'; + s[8] = '/'; + s[11] = '\0'; + p->thumb = bitmap_create_file(s); + } else if ((s[2] == '/') && (s[5] == '/') && + (s[8] == '/')) { s[11] = '\0'; p->thumb = bitmap_create_file(s); } |