|
From: <an...@us...> - 2007-02-19 11:18:08
|
Revision: 124
http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=124&view=rev
Author: and-81
Date: 2007-02-19 03:18:05 -0800 (Mon, 19 Feb 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/plugins/MCEReplacement/MCEReplacement.cs
trunk/plugins/MCEReplacement/MappedEvent.cs
Modified: trunk/plugins/MCEReplacement/MCEReplacement.cs
===================================================================
--- trunk/plugins/MCEReplacement/MCEReplacement.cs 2007-02-18 17:54:30 UTC (rev 123)
+++ trunk/plugins/MCEReplacement/MCEReplacement.cs 2007-02-19 11:18:05 UTC (rev 124)
@@ -839,8 +839,7 @@
if (LogVerbose)
Log.Info("MCEReplacement: Tune External Channel: {0}, Tuner card: {1}", msg.Label, msg.Label2);
- //if (!ProcessExternalChannel(msg.Label, msg.Label2))
- if (!ProcessExternalChannel(msg.Label, "0"))
+ if (!ProcessExternalChannel(msg.Label, msg.Label2))
Log.Error("MCEReplacement: Failed to process external channel request");
}
@@ -1656,7 +1655,7 @@
return null;
}
- string[] commands = runCommand.Split(new char[] { '|' });
+ string[] commands = runCommand.Split(new char[] { '|' }, StringSplitOptions.None);
if (commands.Length != 7)
{
@@ -1722,7 +1721,7 @@
return null;
}
- string[] commands = serialCommand.Split(new char[] { '|' });
+ string[] commands = serialCommand.Split(new char[] { '|' }, StringSplitOptions.None);
if (commands.Length != 6)
{
@@ -1920,7 +1919,7 @@
return null;
}
- string[] commands = messageCommand.Split(new char[] { '|' });
+ string[] commands = messageCommand.Split(new char[] { '|' }, StringSplitOptions.None);
if (commands.Length != 4)
{
@@ -2006,7 +2005,7 @@
return null;
}
- string[] commands = popupCommand.Split(new char[] { '|' });
+ string[] commands = popupCommand.Split(new char[] { '|' }, StringSplitOptions.None);
if (commands.Length != 3)
{
Modified: trunk/plugins/MCEReplacement/MappedEvent.cs
===================================================================
--- trunk/plugins/MCEReplacement/MappedEvent.cs 2007-02-18 17:54:30 UTC (rev 123)
+++ trunk/plugins/MCEReplacement/MappedEvent.cs 2007-02-19 11:18:05 UTC (rev 124)
@@ -200,7 +200,7 @@
if (eventString == null || commandString == null)
return null;
- string[] eventStringElements = eventString.Split(new char[] { ',', '=' });
+ string[] eventStringElements = eventString.Split(new char[] { ',', '=' }, StringSplitOptions.None);
if (eventStringElements.Length == 1)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|