summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it.class b/it.class
index 5c8ec24..c3d0a0c 100644
--- a/it.class
+++ b/it.class
@@ -314,7 +314,7 @@ function match($pattern, $string, $p = array())
if($p['offset_capture'])
$flags |= PREG_OFFSET_CAPTURE;
- $oldlocale = setlocale( LC_CTYPE, 0 );
+ $oldlocale = setlocale(LC_CTYPE, 0);
setlocale(LC_CTYPE, $p['locale']);
if ($p['all'])
@@ -396,7 +396,7 @@ function exec(/* $cmd, $values1 = array(), ... */)
$values += (array)$arg;
#for escapeshellarg in it::_exec_quotevalue
- $oldlocale = setlocale( LC_CTYPE, 0 );
+ $oldlocale = setlocale(LC_CTYPE, 0);
setlocale(LC_CTYPE, 'de_CH');
while (list($tag, $option, $key) = it::match('({(-?)(\w+)})', $cmd))
{