зеркало из https://github.com/mono/mail-archives.git
93 строки
2.8 KiB
HTML
93 строки
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Patch: Pango.Layout.custom, Lines array creation
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:verteiler%40mbalz.de">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="003757.html">
|
|
<LINK REL="Next" HREF="003764.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Patch: Pango.Layout.custom, Lines array creation
|
|
</H1>
|
|
<B>Moritz Balz
|
|
</B>
|
|
<A HREF="mailto:verteiler%40mbalz.de"
|
|
TITLE="[Gtk-sharp-list] Patch: Pango.Layout.custom, Lines array creation">verteiler@mbalz.de
|
|
</A><BR>
|
|
<I>Mon, 05 Apr 2004 00:17:36 +0200</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="003757.html">[Gtk-sharp-list] ButtonPressEvent on TreeView
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003764.html">[Gtk-sharp-list] Patch: Pango.Layout.custom, Lines array
|
|
creation
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3755">[ date ]</a>
|
|
<a href="thread.html#3755">[ thread ]</a>
|
|
<a href="subject.html#3755">[ subject ]</a>
|
|
<a href="author.html#3755">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>This is a multi-part message in MIME format.
|
|
--------------000706080308000300060001
|
|
Content-Type: text/plain; charset=us-ascii
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
Hello,
|
|
|
|
attached is a patch that fixes a bug in the Lines array creation in
|
|
Pango.Layout.custom - the array indexer needs to be increased.
|
|
|
|
M.
|
|
|
|
|
|
--------------000706080308000300060001
|
|
Content-Type: text/x-patch;
|
|
name="Layout.custom.diff"
|
|
Content-Transfer-Encoding: 7bit
|
|
Content-Disposition: inline;
|
|
filename="Layout.custom.diff"
|
|
|
|
--- Layout.custom.old 2004-03-12 22:18:10.000000000 +0100
|
|
+++ Layout.custom 2004-04-05 00:06:41.000000000 +0200
|
|
@@ -18,8 +18,10 @@
|
|
GLib.SList list = new GLib.SList(list_ptr, typeof (Pango.LayoutLine));
|
|
LayoutLine[] result = new LayoutLine [list.Count];
|
|
int i = 0;
|
|
- foreach (LayoutLine line in list)
|
|
+ foreach (LayoutLine line in list) {
|
|
result [i] = line;
|
|
+ i++;
|
|
+ }
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
--------------000706080308000300060001--
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="003757.html">[Gtk-sharp-list] ButtonPressEvent on TreeView
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003764.html">[Gtk-sharp-list] Patch: Pango.Layout.custom, Lines array
|
|
creation
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3755">[ date ]</a>
|
|
<a href="thread.html#3755">[ thread ]</a>
|
|
<a href="subject.html#3755">[ subject ]</a>
|
|
<a href="author.html#3755">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|