summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/Ivy/IvyClient.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/CSharp/Ivy/Ivy/IvyClient.cs b/CSharp/Ivy/Ivy/IvyClient.cs
index 5b46c6b..21f14f4 100644
--- a/CSharp/Ivy/Ivy/IvyClient.cs
+++ b/CSharp/Ivy/Ivy/IvyClient.cs
@@ -143,12 +143,12 @@ namespace IvyBus
{
foreach (IvyApplicationBinding bind in bus.bindings.Values)
{
- stream.TokenAddBinding(bind.Binding, bind.Key, bind.Expression);
+ stream.TokenAddBinding(bind.Binding, bind.Key, bind.FormatedExpression);
}
}
stream.TokenEndRegexp();
-#if (!PocketPC )
+#if (!PocketPC)
doping = Properties.Settings.Default.IvyPing;
#endif
if (doping)
@@ -400,7 +400,7 @@ namespace IvyBus
bus.Stop();
close(false);
if (ev.ForceExit)
- System.Windows.Forms.Application.Exit();
+ System.Environment.Exit(0);
}
void IvyProtocol.TokenBye(ushort err, string arg)
{