mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
InputText: Fixed handling of bangs starting with "["
This commit is contained in:
parent
ef48f74a9b
commit
e857b80e78
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user