зеркало из https://github.com/mono/monocov.git
Couple of fixes
svn path=/trunk/monocov/; revision=16040
This commit is contained in:
Родитель
055e81f4ea
Коммит
b74ad6ccf9
|
@ -273,8 +273,8 @@ public class CoverageModel : CoverageItem {
|
|||
offset += prev_offset;
|
||||
prev_offset = offset;
|
||||
|
||||
int line1;
|
||||
int line2;
|
||||
int line1 = 0;
|
||||
int line2 = 0;
|
||||
|
||||
bool found = GetSourceRangeFor (offset, method, lines, ref line1, ref line2);
|
||||
|
||||
|
@ -327,8 +327,8 @@ public class CoverageModel : CoverageItem {
|
|||
* entries.
|
||||
*/
|
||||
|
||||
int beginOffset;
|
||||
int endOffset;
|
||||
int beginOffset = 0;
|
||||
int endOffset = 0;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < lines.Length; ++i) {
|
||||
|
|
5
Makefile
5
Makefile
|
@ -1,6 +1,6 @@
|
|||
|
||||
PROJECTNAME = monocov
|
||||
GUI = qt
|
||||
GUI = gtk
|
||||
MONO_ROOT = ../mono
|
||||
|
||||
all: monocov.exe libmono-profiler-monocov.so symbols.exe nunit-console.exe
|
||||
|
@ -8,7 +8,8 @@ all: monocov.exe libmono-profiler-monocov.so symbols.exe nunit-console.exe
|
|||
ifeq ($(GUI), gtk)
|
||||
GUI_SRCS = \
|
||||
gui/gtk/MonoCov.cs \
|
||||
gui/gtk/CoverageView.cs
|
||||
gui/gtk/CoverageView.cs \
|
||||
gui/gtk/SourceWindow.cs
|
||||
GUI_LIBS = -r gtk-sharp.dll -r gdk-sharp.dll -r glib-sharp.dll -r glade-sharp.dll -r gnome-sharp.dll -r System.Drawing -resource:gui/gtk/monocov.glade,monocov.glade
|
||||
else
|
||||
GUI_SRCS = \
|
||||
|
|
Загрузка…
Ссылка в новой задаче