Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21987 Details for
Bug 33830
gnome-terminal crashes after finishing ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pango-layout-iter-char.patch
pango-layout-iter-char.patch (text/plain), 1.31 KB, created by
Stanislav Brabec
on 2003-12-10 12:05:58 UTC
(
hide
)
Description:
pango-layout-iter-char.patch
Filename:
MIME Type:
Creator:
Stanislav Brabec
Created:
2003-12-10 12:05:58 UTC
Size:
1.31 KB
patch
obsolete
>Fri Oct 31 12:32:38 2003 Owen Taylor <otaylor@redhat.com> > > Fix one problem with iteration by chars (Part of > #89541, Mariano Suárez-Alvarez) > > * Pango/pango-layout.c (cluster_end_index): Fix to > be item relative, like iter->cluster_index. > > * pango/pango-layout.c (pango_layout_iter_next_char): > Adapt. > >Index: pango/pango-layout.c >=================================================================== >RCS file: /cvs/gnome/pango/pango/pango-layout.c,v >retrieving revision 1.104 >retrieving revision 1.105 >diff -u -r1.104 -r1.105 >--- pango/pango-layout.c 3 Aug 2003 21:57:33 -0000 1.104 >+++ pango/pango-layout.c 31 Oct 2003 17:40:24 -0000 1.105 >@@ -3954,13 +3954,13 @@ > { > /* Use the left or right end of the run */ > if (iter->ltr) >- return iter->run->item->offset + iter->run->item->length; >+ return iter->run->item->length; > else >- return iter->run->item->offset; >+ return 0; > } > else > { >- return iter->run->item->offset + gs->log_clusters[iter->next_cluster_start]; >+ return gs->log_clusters[iter->next_cluster_start]; > } > } > >@@ -4213,7 +4213,7 @@ > > gs = iter->run->glyphs; > >- next_cluster_index = cluster_end_index (iter); >+ next_cluster_index = iter->run->item->offset + cluster_end_index (iter); > > oldp = iter->layout->text + iter->index; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33830
: 21987