diff options
Diffstat (limited to 'AccountValue/Form1.cs')
-rw-r--r-- | AccountValue/Form1.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/AccountValue/Form1.cs b/AccountValue/Form1.cs index 81998dd..5d5170c 100644 --- a/AccountValue/Form1.cs +++ b/AccountValue/Form1.cs @@ -21,6 +21,7 @@ using System.Diagnostics; // (C) 2005 - 2006 Randolph Welte randy@uni-freiburg.de#################################
//
// Bearbeitung Bohdan Dulya d_bohdan@gmx.de 2006 - 2009 ################################
+// Javier Castillo mail@javiercastillogt.com 2011 ######################################
// & Marco Haustein 2008 ###############################################################
@@ -617,6 +618,13 @@ namespace AccountValue }
else
{
+ // Prüfe ob value negativ ist
+ if (value.StartsWith("-"))
+ {
+ // falls ja, setze value auf 0
+ value = "0";
+ }
+
value += "";
last_stand = value;
}
|