Commit 67ea78e7 authored by Michael Meeks's avatar Michael Meeks
Browse files

Plugins compile.

parent f45e3d1d
1999-08-11 Michael Meeks <michael@imaginator.com>
* plugins/text/text-io.c: Prototypes updated.
1999-08-11 Jukka-Pekka Iivonen <iivonen@iki.fi>
* TODO: Updated the remaining work of build-in functions.
......
1999-08-11 Michael Meeks <michael@imaginator.com>
* plugins/text/text-io.c: Prototypes updated.
1999-08-11 Jukka-Pekka Iivonen <iivonen@iki.fi>
* TODO: Updated the remaining work of build-in functions.
......
......@@ -36,8 +36,8 @@ static Sheet *text_read_sheet (const char *filename);
static int text_write_sheet (Sheet *sheet, const char *filename);
*/
static Workbook *text_read_workbook (const char *filename);
static int text_write_workbook (Workbook *sheet, const char *filename);
static gboolean text_read_workbook (Workbook *wb, const char *filename);
static int text_write_workbook (Workbook *wb, const char *filename);
static void writeTextSheet (TextData *data, Sheet *sheet);
static void writeTextWorkbook (TextData *data, Workbook *wb);
......
1999-08-11 Michael Meeks <michael@imaginator.com>
* boot.c (xbase_load): Add missing ';' Miguel's been doing too
much Pascal recently :-)
1999-08-09 <miguel@gnu.org>
* boot.c (xbase_load): Adapted to new file open conventions.
......
......@@ -58,7 +58,7 @@ xb_setdouble (guint8 *p, double d)
#endif
static char *
filename_ext(const char *filename)
filename_ext (const char *filename)
{
char *p = strrchr (filename, '.');
if (p==NULL)
......@@ -146,9 +146,11 @@ xbase_load (Workbook *wb, const char *filename)
Value *val;
if ((file = xbase_open (filename)) == NULL)
return FALSE
return FALSE;
if ((p = filename_ext (name)) != NULL)
*p = '\0'; /* remove "dbf" */
rec = record_new (file);
sheet = sheet_new (wb, name);
p = name;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment