Commit ebb4ae05 authored by Claes's avatar Claes

wb, locale set before start

parent a5bbc2e9
......@@ -152,8 +152,6 @@ WbGtk::WbGtk( int argc, char *argv[]) : mainwindow(0)
exit(0);
}
Lng::set( argv[i+1]);
setlocale( LC_ALL, "en_US");
setlocale( LC_NUMERIC, "en_US");
i++;
break;
case 'f':
......
......@@ -33,5 +33,8 @@ if [ -z $database ]; then
return
fi
export LC_TIME="en_US.UTF-8"
export LC_NUMERIC="POSIX"
echo "-- Opening volume '$database'"
wb -q "$username" "$password" $database
......@@ -25,6 +25,9 @@ username=$1
password=$2
volume=$3
export LC_TIME="en_US.UTF-8"
export LC_NUMERIC="POSIX"
wb $username $password $volume $4 $5 $6 $7
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment