Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29846 Details for
Bug 48728
Patch to fix a cut-and-paste bug in vte 0.11.10+
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch is the one that fixes the cut-and-paste bug.
vte.c.patch.for-0.11.10-r1 (text/plain), 1.01 KB, created by
Jason Pfeil
on 2004-04-22 14:11:06 UTC
(
hide
)
Description:
This patch is the one that fixes the cut-and-paste bug.
Filename:
MIME Type:
Creator:
Jason Pfeil
Created:
2004-04-22 14:11:06 UTC
Size:
1.01 KB
patch
obsolete
>--- vte.c.orig 2004-04-22 16:02:39.000000000 -0400 >+++ vte.c 2004-04-22 16:13:23.000000000 -0400 >@@ -8776,7 +8776,7 @@ > GArray *attributes) > { > long col, row, last_space, last_spacecol, >- last_nonspace, last_nonspacecol; >+ last_nonspace, last_nonspacecol, line_start; > VteScreen *screen; > struct vte_charcell *pcell = NULL; > GString *string; >@@ -8796,6 +8796,7 @@ > last_space = last_nonspace = -1; > last_spacecol = last_nonspacecol = -1; > attr.row = row; >+ line_start = string->len; > pcell = NULL; > do { > /* If it's not part of a multi-column character, >@@ -8883,6 +8884,11 @@ > g_string_truncate(string, last_nonspace + 1); > } > } >+ /* If we found no non-whitespace characters on this line, trim >+ * it, as xterm does. */ >+ if (last_nonspacecol == -1) { >+ g_string_truncate(string, line_start); >+ } > /* Make sure that the attributes array is as long as the > * string. */ > if (attributes) {
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 48728
:
29843
| 29846