projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5994049
)
[project @ 2003-07-30 17:09:12 by simonmar]
author
simonmar
<unknown>
Wed, 30 Jul 2003 17:09:12 +0000
(17:09 +0000)
committer
simonmar
<unknown>
Wed, 30 Jul 2003 17:09:12 +0000
(17:09 +0000)
Fix problem with MARK.
Patch submitted by Nicholas Nethercote <njn25@cam.ac.uk>.
ghc/utils/hp2ps/Marks.c
patch
|
blob
|
history
diff --git
a/ghc/utils/hp2ps/Marks.c
b/ghc/utils/hp2ps/Marks.c
index
f86cff9
..
27702c7
100644
(file)
--- a/
ghc/utils/hp2ps/Marks.c
+++ b/
ghc/utils/hp2ps/Marks.c
@@
-16,7
+16,7
@@
Marks()
floatish m;
for (i = 0; i < nmarks; i++) {
- m = (markmap[i] / xrange) * graphwidth;
+ m = ((markmap[i] - samplemap[0]) / xrange) * graphwidth;
Caret(xpage(m), ypage(0.0), 4.0);
}
}