Commit a81bc1b9 authored by Michael Meeks's avatar Michael Meeks
Browse files

Fixup entering files in ole stuff :-)

parent e0074752
1999-08-15 Michael Meeks <michael@imaginator.com>
* ms-ole.c (ms_ole_path_decode): Stop it trying to 'enter' streams :-)
(ms_ole_directory_enter): Add more flowery debug.
1999-08-14 Michael Meeks <michael@imaginator.com>
* gnome-stream-ole.c (gnome_stream_ole_open_create): Fix cockups
......
......@@ -2125,7 +2125,8 @@ ms_ole_path_decode (MsOle *f, const char *path)
if (found) {
g_free (dirs[lp]);
dirs[lp] = 0;
ms_ole_directory_enter (dir);
if (dir->type == MsOlePPSStorage)
ms_ole_directory_enter (dir);
} else {
#if OLE_DEBUG > 0
printf ("Stream '%s' not found\n", name);
......@@ -2314,7 +2315,7 @@ ms_ole_directory_enter (MsOleDirectory *d)
if (d->type != MsOlePPSStorage &&
d->type != MsOlePPSRoot) {
printf ("Bad type %d %d\n", d->type, MsOlePPSRoot);
printf ("Bad type %d %d entering '%s'\n", d->type, MsOlePPSRoot, d->name);
return;
}
......
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