Commit f9649a62 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder
Browse files

Add another magic number.

2005-11-01  Morten Welinder  <terra@gnome.org>

	* boot.c (lotus_file_probe): Add another magic number.
parent b1bebaac
2005-11-01 Morten Welinder <terra@gnome.org>
* boot.c (lotus_file_probe): Add another magic number.
2005-10-18 Morten Welinder <terra@gnome.org>
* lotus.c (lotus_read_new): Handle some wk4 records.
......
......@@ -53,6 +53,7 @@ lotus_file_probe (GOFileOpener const *fo, GsfInput *input, FileProbeLevel pl)
switch (version) {
case LOTUS_VERSION_ORIG_123:
case LOTUS_VERSION_SYMPHONY:
case LOTUS_VERSION_SYMPHONY2:
return len == 2;
case LOTUS_VERSION_123V4: /* Barely and crudely handled. */
......
......@@ -2243,6 +2243,7 @@ lotus_read (LotusState *state)
switch (state->version) {
case LOTUS_VERSION_ORIG_123:
case LOTUS_VERSION_SYMPHONY:
case LOTUS_VERSION_SYMPHONY2:
return lotus_read_old (state, &r);
default:
......
......@@ -5,12 +5,13 @@
#include <gsf/gsf.h>
typedef enum {
LOTUS_VERSION_ORIG_123 = 0x0404,
LOTUS_VERSION_SYMPHONY = 0x0405,
LOTUS_VERSION_123V4 = 0x1002,
LOTUS_VERSION_123V6 = 0x1003,
LOTUS_VERSION_123V7 = 0x1004, /* Not sure. */
LOTUS_VERSION_123SS98 = 0x1005
LOTUS_VERSION_ORIG_123 = 0x0404,
LOTUS_VERSION_SYMPHONY = 0x0405,
LOTUS_VERSION_SYMPHONY2 = 0x0406,
LOTUS_VERSION_123V4 = 0x1002,
LOTUS_VERSION_123V6 = 0x1003,
LOTUS_VERSION_123V7 = 0x1004, /* Not sure. */
LOTUS_VERSION_123SS98 = 0x1005
} LotusVersion;
typedef struct {
......
......@@ -15,6 +15,7 @@
<suffixes>
<suffix>wk1</suffix>
<suffix>wk4</suffix>
<suffix>wr1</suffix>
<suffix>wks</suffix>
<suffix>123</suffix>
</suffixes>
......
Markdown is supported
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