Code cleanup

Added license stuff
This commit is contained in:
Flamefire committed 2013-08-22 00:56:58 +02:00
1 parent cd826bdafd
commit 762d2c80d2
66 files changed
+553 -357

No files matched your search

+4 -4
View File
@@ -69,7 +69,7 @@ namespace VocaluxeLib
public static int TryReadInt(StreamReader sr)
{
string value = String.Empty;
try
{
int tmp = sr.Peek();
@@ -79,7 +79,7 @@ namespace VocaluxeLib
if (sr.EndOfStream)
break;
char chr = (char)sr.Read();
var chr = (char)sr.Read();
value += chr.ToString();
tmp = sr.Peek();
}
@@ -141,8 +141,8 @@ namespace VocaluxeLib
public static List<string> ListFiles(string path, string cast, bool recursive = false, bool fullpath = false)
{
List<string> files = new List<string>();
DirectoryInfo dir = new DirectoryInfo(path);
var files = new List<string>();
var dir = new DirectoryInfo(path);
try
{