changeset 1700:86e405fd187e

Change parameter lists of internal thumbnail functions
author bert <bert>
date Wed, 17 Mar 2004 20:04:28 +0000
parents 272c8aeef899
children f2388219e563
files libsrc2/volprops.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libsrc2/volprops.c
+++ b/libsrc2/volprops.c
@@ -179,7 +179,7 @@
     return (MI_NOERROR);
 }
   
-/*! Get Mutli-resolution properties
+/*! Get Multi-resolution properties
  */
 int 
 miget_props_multi_resolution(mivolumeprops_t props, BOOLEAN *enable_flag,
@@ -217,7 +217,7 @@
     return (0);
   }
   else {
-    if (minc_update_thumbnail(grp_id,0 ,depth) < 0) {
+    if (minc_update_thumbnail(volume, grp_id, 0, depth) < 0) {
       return (MI_ERROR);
     }
   }
@@ -239,9 +239,10 @@
     return (0);
   }
   else {
-    if (minc_update_thumbnails(volume->hdf_id) < 0) {
+    if (minc_update_thumbnails(volume) < 0) {
       return (MI_ERROR);
     }
+    volume->is_dirty = FALSE;
   }
   
  return (MI_NOERROR);