[Wsplgen-commits] r131 - in trunk: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 3 17:46:12 CET 2008


Author: mrchip
Date: 2008-11-03 17:46:01 +0100 (Mon, 03 Nov 2008)
New Revision: 131

Modified:
   trunk/NEWS
   trunk/src/wsplgen.h
   trunk/src/xy.cpp
Log:
Eine fealsche Fehlermeldung wurde entfernt

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2008-10-17 07:43:45 UTC (rev 130)
+++ trunk/NEWS	2008-11-03 16:46:01 UTC (rev 131)
@@ -10,6 +10,10 @@
 // Read the file COPYING coming with WSPLGEN for details.
 //
 
+Version 1.2.7
+
+	- Eine Fehler mit einer unbegründeten Fehlermeldung wurde behoben
+
 Version 1.2.6
 
 	- Die .SBN und .SBX Dateien werden nun immer gelöscht,

Modified: trunk/src/wsplgen.h
===================================================================
--- trunk/src/wsplgen.h	2008-10-17 07:43:45 UTC (rev 130)
+++ trunk/src/wsplgen.h	2008-11-03 16:46:01 UTC (rev 131)
@@ -10,7 +10,7 @@
 // Read the file COPYING coming with WSPLGEN for details.
 //
 
-const char Version[] = "1.2.6";
+const char Version[] = "1.2.7";
 
 // In der Datei wsplgen.h wird jetzt keine Historie mehr gespeichert.
 // Diese ist nun in der Datei NEWS zu finden

Modified: trunk/src/xy.cpp
===================================================================
--- trunk/src/xy.cpp	2008-10-17 07:43:45 UTC (rev 130)
+++ trunk/src/xy.cpp	2008-11-03 16:46:01 UTC (rev 131)
@@ -1305,7 +1305,7 @@
 //---------------------------------------------------------------------
 int TNodeList::GetMaxDepth(int DebugLevel)
 {
-	write_fortschritt("->Ermittlung	der maximalen Wassertiefe gestartet\n");
+	write_fortschritt("->Ermittlung der maximalen Wassertiefe gestartet\n");
 
 	int MaxDepth = 0;
 	int Count = 0;
@@ -1317,10 +1317,7 @@
 
 		int Depth = Node->Wsp -	Node->Z;
 
-		if (Depth < 0)
-		{
-			dump_error(__FILE__, __LINE__, "Der Wasserstand	ist negativ\n");
-		}
+		if (Depth < 0) continue;
 
 		if (Count == 0 || Depth	> MaxDepth)	MaxDepth = Depth;
 
@@ -1335,7 +1332,7 @@
 
 	write_fortschritt("Maximale Wassertiefe: %.3f.\n", MaxDepth / 100.0);
 
-	write_fortschritt("<-Ermittlung	der maximalen Wassertiefe beendet\n");
+	write_fortschritt("<-Ermittlung der maximalen Wassertiefe beendet\n");
 
 	return (MaxDepth);
 }



More information about the Wsplgen-commits mailing list