Default textdomain loading cleanup. Fix for bug 230.

git-svn-id: https://develop.svn.wordpress.org/trunk@1817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-10-19 00:18:12 +00:00
parent f95b24fb39
commit ac3556c7aa
2 changed files with 20 additions and 16 deletions
+3
View File
@@ -115,6 +115,9 @@ class gettext_reader {
$meta = $this->ORIGINALS[$num];
$length = $meta[0];
$offset = $meta[1];
if (! $length) {
return '';
}
$this->STREAM->seekto($offset);
$data = $this->STREAM->read($length);
return (string)$data;