mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
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>
This commit is contained in:
parent
dd3261f232
commit
c79473df60
1 changed files with 1 additions and 5 deletions
6
file.c
6
file.c
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue