[Monodevelop-patches-list] r1418 - trunk/MonoDevelop/src/Main/Base/Services/Tasks
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Apr 9 07:41:16 EDT 2004
Author: pawel
Date: 2004-04-09 07:41:16 -0400 (Fri, 09 Apr 2004)
New Revision: 1418
Modified:
trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs
Log:
don't show "()" when error.ErrorNumber is empty
Modified: trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs 2004-04-09 11:31:40 UTC (rev 1417)
+++ trunk/MonoDevelop/src/Main/Base/Services/Tasks/Task.cs 2004-04-09 11:41:16 UTC (rev 1418)
@@ -94,7 +94,9 @@
type = error.IsWarning ? TaskType.Warning : TaskType.Error;
column = error.Column - 1;
line = error.Line - 1;
- description = error.ErrorText + "(" + error.ErrorNumber + ")";
+ description = error.ErrorText;
+ if (error.ErrorNumber != String.Empty)
+ description += "(" + error.ErrorNumber + ")";
fileName = error.FileName;
}
More information about the Monodevelop-patches-list
mailing list