mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
#17829107 : handle windows' new-line character(\r\n)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5974 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
726606f42b
commit
11e362bf7f
1 changed files with 1 additions and 0 deletions
|
|
@ -203,6 +203,7 @@
|
||||||
$idx = 0;
|
$idx = 0;
|
||||||
for($i=0;$i<$cnt;$i++) {
|
for($i=0;$i<$cnt;$i++) {
|
||||||
$str = $list[$i];
|
$str = $list[$i];
|
||||||
|
$str = rtrim($str);
|
||||||
if(preg_match('/^Index: (.*)$/', $str, $m)) {
|
if(preg_match('/^Index: (.*)$/', $str, $m)) {
|
||||||
if($blockobj != null)
|
if($blockobj != null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue