summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorNathan Gass2008-11-11 16:58:20 +0000
committerNathan Gass2008-11-11 16:58:20 +0000
commitcf70c977a324c7f4f87a6e4eb54bdde4fdebf217 (patch)
tree72b3829e7c9fcacc38f9d19402efe0bb693c7489 /it.class
parentd5a1eeaebeb6af8f2eef494b260a6cb742013fda (diff)
downloaditools-cf70c977a324c7f4f87a6e4eb54bdde4fdebf217.tar.gz
itools-cf70c977a324c7f4f87a6e4eb54bdde4fdebf217.tar.bz2
itools-cf70c977a324c7f4f87a6e4eb54bdde4fdebf217.zip
fix style
Diffstat (limited to 'it.class')
-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))
{