summaryrefslogtreecommitdiff
path: root/extlib/php-gettext/gettext.inc
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-10-15 04:49:59 -0400
committerEvan Prodromou <evan@status.net>2009-10-15 04:49:59 -0400
commitc1c8daa021db8629ceb46d52c3907b4844fe865e (patch)
tree3658949e3ff4a9df3232cb4fc36e55096f591c0a /extlib/php-gettext/gettext.inc
parent2e3cda4da626a83d87a4c35814d6d01307dde5dc (diff)
parent6b5810f5d562260a0143446982bf22ef50298d80 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
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;
}