Commit 85c865ff authored by Jon Kåre Hellan's avatar Jon Kåre Hellan
Browse files

(lotus_file_probe): Rewind file after probing.

parent 4f9a547f
2002-06-25 Jon K Hellan <hellan@acm.org>
* boot.c (lotus_file_probe): Rewind file after probing.
2002-06-07 Jody Goldberg <jody@gnome.org>
* lotus.c (record_new) : convert to libgsf.
......
......@@ -32,6 +32,7 @@ lotus_file_probe (GnumFileOpener const *fo, GsfInput *input, FileProbeLevel pl)
char const *header = NULL;
if (!gsf_input_seek (input, 0, GSF_SEEK_SET))
header = gsf_input_read (input, 4, NULL);
gsf_input_seek (input, 0, GSF_SEEK_SET);
return header != NULL &&
header[0] == (LOTUS_BOF & 0xff) &&
header[1] == ((LOTUS_BOF >> 8) & 0xff) &&
......
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