Index: image_resize_filter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_resize_filter/image_resize_filter.module,v
retrieving revision 1.24
diff -u -r1.24 image_resize_filter.module
--- image_resize_filter.module	31 May 2009 21:08:41 -0000	1.24
+++ image_resize_filter.module	3 Jun 2009 21:18:32 -0000
@@ -2,7 +2,7 @@
 // $Id: image_resize_filter.module,v 1.24 2009/05/31 21:08:41 quicksketch Exp $
 
 /**
- * @file image_resize_fitler.module
+ * @file image_resize_filter.module
  *
  * After adding to an input format, this filter will parse the contents of
  * submitted content and automatically scale image files to match the set
@@ -427,8 +427,8 @@
 
     // Replace the existing image source with the resized image.
     // Set the image we're currently updating in the callback function.
-    image_resize_fitler_update_tag(NULL, $image, $settings);
-    $text = preg_replace_callback('/(<img[^>]*?src[ ]*=[ ]*")'. preg_quote($image['original'] ,'/') .'("[^>]*?)(\/?>)/', 'image_resize_fitler_update_tag', $text);
+    image_resize_filter_update_tag(NULL, $image, $settings);
+    $text = preg_replace_callback('/(<img[^>]*?src[ ]*=[ ]*")'. preg_quote($image['original'] ,'/') .'("[^>]*?)(\/?>)/', 'image_resize_filter_update_tag', $text);
   }
   return $text;
 }
@@ -442,7 +442,7 @@
  *   If passed in, this will set a static variable so that this image data is
  *   available when this function is called from a regular expression.
  */
-function image_resize_fitler_update_tag($matches = NULL, $new_image = NULL, $new_settings = NULL) {
+function image_resize_filter_update_tag($matches = NULL, $new_image = NULL, $new_settings = NULL) {
   global $base_url;
   static $image, $settings;
 
