summaryrefslogtreecommitdiff
path: root/CSharp/Ivy/IvyPPC/IvyClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy/IvyPPC/IvyClient.cs')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyClient.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyClient.cs b/CSharp/Ivy/IvyPPC/IvyClient.cs
index 5b46c6b..21f14f4 100644
--- a/CSharp/Ivy/IvyPPC/IvyClient.cs
+++ b/CSharp/Ivy/IvyPPC/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)
{