Index: potx.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.inc,v
retrieving revision 1.1.2.17.2.7.2.19.4.1
diff -u -p -r1.1.2.17.2.7.2.19.4.1 potx.inc
--- potx.inc	19 Jul 2009 12:54:42 -0000	1.1.2.17.2.7.2.19.4.1
+++ potx.inc	22 Aug 2009 20:56:33 -0000
@@ -173,10 +173,10 @@ function _potx_process_file($file_path, 
     }
     // Collect line numbers.
     if (is_array($token)) {
-      $line_number += count(split("\n", $token[1])) - 1;
+      $line_number += count(explode("\n", $token[1])) - 1;
     }
     else {
-      $line_number += count(split("\n", $token)) - 1;
+      $line_number += count(explode("\n", $token)) - 1;
     }
   }
   unset($raw_tokens);
