projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be8b3e9
)
gtk: Fix layout-draw-callback's level 2 trace report of cairo clip.
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:14:24 +0000
(12:14 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 19 Oct 2012 19:14:24 +0000
(12:14 -0700)
String-append don't take no numbers.
src/gtk/fix-layout.scm
patch
|
blob
|
history
diff --git
a/src/gtk/fix-layout.scm
b/src/gtk/fix-layout.scm
index 1fe0eedc4d4850cab40aba4f4f2cd5511daaba1f..0f07b23d0d164f30ce1853e977bcc1a9c8b5d891 100644
(file)
--- a/
src/gtk/fix-layout.scm
+++ b/
src/gtk/fix-layout.scm
@@
-400,8
+400,10
@@
USA.
(%trace2 ";draw "layout" at "
(cairo-clip-extents
cr (lambda (min-x min-y max-x max-y)
- (string-append (number->string min-x)","(number->string min-y)
- " "(- max-x min-x)"x"(- max-y min-y))))
+ (define-integrable n->s number->string)
+ (string-append (n->s min-x)","(n->s min-y)
+ " "(n->s (- max-x min-x))
+ "x"(n->s (- max-y min-y)))))
"\n")
(let ((window (fix-widget-window layout))
(drawing (fix-layout-drawing layout))