---
file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/file.c b/file.c
index e6b0a3f..085c333 100644
--- a/file.c
+++ b/file.c
@@ -448,7 +448,7 @@ int parse_file(const char *filename)
}
fmt = strrchr(filename, '.');
- if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK")))
{
+ if (fmt && (!strcasecmp(fmt + 1, "DB") || !strcasecmp(fmt + 1, "BAK")
|| !strcasecmp(fmt + 1, "SQL"))) {
if (!try_to_open_db(filename, &mem)) {
free(mem.buffer);
return 0;
--
2.1.4
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface