InputText: Fixed handling of bangs starting with "["

This commit is contained in:
Birunthan Mohanathas 2012-05-17 11:37:42 +03:00
parent ef48f74a9b
commit e857b80e78

View File

@ -372,8 +372,6 @@ namespace InputText
#region Send a bang to Rainmeter (prepends a '!' if necessary) #region Send a bang to Rainmeter (prepends a '!' if necessary)
public static void Bang(string sBang) public static void Bang(string sBang)
{ {
if (!sBang.StartsWith("!"))
sBang = "!" + sBang;
System.Diagnostics.Process.Start(System.Windows.Forms.Application.ExecutablePath, sBang); System.Diagnostics.Process.Start(System.Windows.Forms.Application.ExecutablePath, sBang);
} }
#endregion #endregion