diff options
author | Rodrigo Severo <rodrigo@fabricadeideias.com> | 2014-01-15 11:59:25 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-16 09:37:46 +0700 |
commit | c79473df60f7f9d62eeacf6c587a1dabc0dc9260 (patch) | |
tree | 5eab1b4321a3b253d323e62b98e4b4e3c4c3addb /file.c | |
parent | dd3261f2323c130fc2ffbe0af69e0100581bec0c (diff) | |
download | subsurface-c79473df60f7f9d62eeacf6c587a1dabc0dc9260.tar.gz |
Remove old message directing users to use "Import CSV files" menu option
As importing files is now done through "Import Log Files" menu option for all
file types, the message directing users to use the specific "Import CSV Log Files"
non-existent menu entry should not be presented any more.
Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -265,12 +265,8 @@ static int open_by_filename(const char *filename, const char *fmt, struct memblo return try_to_open_zip(filename, mem, error); /* CSV files */ - if (!strcasecmp(fmt, "CSV")) { - int len = strlen(translate("gettextFromC","Failed to read '%s'. Use import for CSV files.")) + strlen(filename); - *error = malloc(len); - snprintf(*error, len, translate("gettextFromC","Failed to read '%s'. Use import for CSV files."), filename); + if (!strcasecmp(fmt, "CSV")) return 1; - } #if ONCE_COCHRAN_IS_SUPPORTED /* Truly nasty intentionally obfuscated Cochran Anal software */ |