Index: imagecache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v
retrieving revision 1.9
diff -u -F^f -r1.9 imagecache.module
--- imagecache.module	31 Jul 2006 00:30:10 -0000	1.9
+++ imagecache.module	8 Sep 2006 17:33:50 -0000
@@ -414,29 +414,29 @@ function _imagecache_actions_form($rules
       switch($action['data']['function']) {
         case 'scale':
         case 'resize':
-          $form[$actionid]['data']['height'] = array(
-            '#type' => 'textfield',
-            '#title' => t('Height'),
-            '#default_value' => $action['data']['height'],
-          );
           $form[$actionid]['data']['width'] = array(
             '#type' => 'textfield',
             '#title' => t('Width'),
             '#default_value' => $action['data']['width'],
           );
-          break;
-        
-        case 'crop':
           $form[$actionid]['data']['height'] = array(
             '#type' => 'textfield',
             '#title' => t('Height'),
             '#default_value' => $action['data']['height'],
           );
+          break;
+        
+        case 'crop':
           $form[$actionid]['data']['width'] = array(
             '#type' => 'textfield',
             '#title' => t('Width'),
             '#default_value' => $action['data']['width'],
           );
+          $form[$actionid]['data']['height'] = array(
+            '#type' => 'textfield',
+            '#title' => t('Height'),
+            '#default_value' => $action['data']['height'],
+          );
           $form[$actionid]['data']['xoffset'] = array(
             '#type' => 'textfield',
             '#title' => t('X Offset'),
