]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/gettext.php
Wordpress 2.8-scripts
[autoinstalls/wordpress.git] / wp-includes / gettext.php
index 72558ccf708d49f1e2e93da39a51f0895a2a694b..48e98b31357a8e5895f928a60efaca5c2eb8dc81 100644 (file)
@@ -1,5 +1,11 @@
 <?php
-/*
+/**
+ * PHP-Gettext External Library: gettext_reader class
+ *
+ * @package External
+ * @subpackage PHP-gettext
+ *
+ * @internal
         Copyright (c) 2003 Danilo Segan <danilo@kvota.net>.
         Copyright (c) 2005 Nico Kaiser <nico@siriux.net>
 
@@ -114,7 +120,7 @@ class gettext_reader {
 
                $this->STREAM = $Reader;
                $magic = $this->readint();
-               if ($magic == ($MAGIC1 & 0xFFFFFFFF) || $magic == ($MAGIC3 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms
+               if ($magic == $MAGIC1 || $magic == $MAGIC3) { // to make sure it works for 64-bit platforms
                        $this->BYTEORDER = 0;
                } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {
                        $this->BYTEORDER = 1;
@@ -391,4 +397,4 @@ class gettext_reader {
 
 }
 
-?>
+?>
\ No newline at end of file