Fix wrong comparisons

This commit is contained in:
Flamefire committed 2013-10-13 00:27:03 +02:00
1 parent 42ac648fc1
commit d41779b6f2
3 files changed
+10 -13

No files matched your search

+2 -2
View File
@@ -99,7 +99,7 @@ namespace VocaluxeLib.Songs
_LineNr = 0;
try
{
sr = useSetEncoding ? new StreamReader(filePath, _Song.Encoding, true) : new StreamReader(filePath, true);
sr = new StreamReader(filePath, _Song.Encoding, true);
while (!sr.EndOfStream)
{
string line = sr.ReadLine();
@@ -712,7 +712,7 @@ namespace VocaluxeLib.Songs
if (changesMade.IsModified)
{
string msg = "Automatic changes have been made to " + filePath + " Please check result!\r\n" + changesMade;
CBase.Log.LogError("Warning:" + msg);
CBase.Log.LogError("Warning: " + msg);
if (CBase.Config.GetSaveModifiedSongs() == EOffOn.TR_CONFIG_ON)
{
string name = Path.GetFileNameWithoutExtension(_Song.FileName);