summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-03-11 00:23:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-11 07:38:22 -0700
commit2a1a868db20f2fea08f946cf3733d6deeb61b066 (patch)
tree00e9de2c21cce3eaefcead7c3d8c45e9d2c1cc23 /file.c
parent76ce2b095bbad46b4804dd075bee22085c606543 (diff)
downloadsubsurface-2a1a868db20f2fea08f946cf3733d6deeb61b066.tar.gz
datatrak: some codings style fixes and fopen() usage
- subsurface_fopen() is needed - translated one puts("") message - sizeof(unsigned char | char) is always 1 - pointer symbol (*) location - padding fixes - braces fixes Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index ad646c47c..e738e61be 100644
--- a/file.c
+++ b/file.c
@@ -457,7 +457,7 @@ int parse_file(const char *filename)
}
/* DataTrak/Wlog */
- if (fmt && (!strcasecmp(fmt + 1, "LOG"))) {
+ if (fmt && !strcasecmp(fmt + 1, "LOG")) {
datatrak_import(filename, &dive_table);
return 0;
}