summaryrefslogtreecommitdiff
path: root/extlib/php-gettext/gettext.inc
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-10-13 14:51:23 -0700
committerBrion Vibber <brion@pobox.com>2009-10-13 14:55:47 -0700
commitd1e70b4e37149e09b2189957e2a869b4014a05c5 (patch)
tree55b04ee08868e6150301a8abb2aba4f1a5b7ecee /extlib/php-gettext/gettext.inc
parented1ff81e948ca576ed439178c7d6482a09dc4140 (diff)
Commit upstream updates to php-gettext after the 1.0.7 release (but in 2006! :P)
Fixes file magic checks on 64-bit systems. http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/17 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/18 http://bazaar.launchpad.net/~danilo/php-gettext/trunk/revision/19
Diffstat (limited to 'extlib/php-gettext/gettext.inc')
-rw-r--r--extlib/php-gettext/gettext.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/extlib/php-gettext/gettext.inc b/extlib/php-gettext/gettext.inc
index eb94b256a..fcaafe7c9 100644
--- a/extlib/php-gettext/gettext.inc
+++ b/extlib/php-gettext/gettext.inc
@@ -148,9 +148,9 @@ function _setlocale($category, $locale) {
*/
function _bindtextdomain($domain, $path) {
global $text_domains;
- // ensure $path ends with a slash
- if ($path[strlen($path) - 1] != '/') $path .= '/';
- elseif ($path[strlen($path) - 1] != '\\') $path .= '\\';
+ // ensure $path ends with a slash
+ if ($path[strlen($path) - 1] != '/') $path .= '/';
+ elseif ($path[strlen($path) - 1] != '\\') $path .= '\\';
$text_domains[$domain]->path = $path;
}