Fixed Issue 99 file open bug on Opera widget

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@487 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-08-27 13:53:12 +00:00
parent 581728ab1a
commit 3c6f79a8c1

View File

@@ -13,7 +13,7 @@ $(function() {
fstream = file.open(file, "r");
var output = "";
while (!fstream.eof) {
output += fstream.readLine("UTF-16");
output += fstream.readLine();
}
svgCanvas.setSvgString(output); /* 'this' is bound to the filestream object here */