Daniele Bartolini 9 lat temu
rodzic
commit
bcd422adec
2 zmienionych plików z 6 dodań i 6 usunięć
  1. 3 3
      tools/core/json/json.vala
  2. 3 3
      tools/core/json/sjson.vala

+ 3 - 3
tools/core/json/json.vala

@@ -49,9 +49,9 @@ namespace Crown
 		{
 			FileStream fs = FileStream.open(path, "r");
 			// Get file size
-			fs.seek (0, FileSeek.END);
-			long size = fs.tell ();
-			fs.rewind ();
+			fs.seek(0, FileSeek.END);
+			long size = fs.tell();
+			fs.rewind();
 			uint8[] bytes = new uint8[size];
 			fs.read(bytes);
 			return decode(bytes) as Hashtable;

+ 3 - 3
tools/core/json/sjson.vala

@@ -57,9 +57,9 @@ namespace Crown
 		{
 			FileStream fs = FileStream.open(path, "r");
 			// Get file size
-			fs.seek (0, FileSeek.END);
-			long size = fs.tell ();
-			fs.rewind ();
+			fs.seek(0, FileSeek.END);
+			long size = fs.tell();
+			fs.rewind();
 			uint8[] bytes = new uint8[size];
 			fs.read(bytes);
 			return decode(bytes) as Hashtable;