Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 321366 Details for
Bug 431446
app-admin/conky-1.9.0: line graph fix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The fix
conky-1.9.0-lines-fix.patch (text/plain), 1.04 KB, created by
Alessandro Di Marco
on 2012-08-14 22:45:16 UTC
(
hide
)
Description:
The fix
Filename:
MIME Type:
Creator:
Alessandro Di Marco
Created:
2012-08-14 22:45:16 UTC
Size:
1.04 KB
patch
obsolete
>diff -urN old/src/conky.c new/src/conky.c >--- old/src/conky.c 2012-05-03 23:22:21.000000000 +0200 >+++ new/src/conky.c 2012-08-15 00:06:59.256311301 +0200 >@@ -3065,12 +3065,26 @@ > og = g; > } > >- /* this is mugfugly, but it works */ >- XDrawLine(display, window.drawable, window.gc, >- cur_x + i + 1, >- specials[special_index].dotgraph ? og : by + h, >- cur_x + i + 1, >- g); >+ if (specials[special_index].dotgraph) { >+ if (og == g) { >+ XDrawPoint(display, window.drawable, >+ window.gc, cur_x + i + 1, g); >+ } else { >+ XDrawLine(display, window.drawable, window.gc, >+ cur_x + i + 1, >+ og, >+ cur_x + i + 1, >+ g); >+ } >+ } else { >+ /* this is mugfugly, but it works */ >+ XDrawLine(display, window.drawable, window.gc, >+ cur_x + i + 1, >+ by + h, >+ cur_x + i + 1, >+ g); >+ } >+ > ++j; > } > if (tmpcolour) free(tmpcolour);
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 431446
:
321362
|
321364
| 321366 |
321368