1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

mpd password

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@74 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-07 19:01:23 +00:00
parent 349c810b66
commit d8b868e428
3 changed files with 6 additions and 1 deletions

View File

@ -57,6 +57,9 @@ JL Farinacci
jolapache <jolapache at free dot fr> jolapache <jolapache at free dot fr>
maildir format maildir format
Joshua Gerrish <jgerrish at users dot sourceforge dot net>
mpd password patch
Jørgen P. Tjernø <daxxar at mental dot mine dot nu> Jørgen P. Tjernø <daxxar at mental dot mine dot nu>
Restores default settings before loading new config file in SIGHUP Restores default settings before loading new config file in SIGHUP
Some cleaning and commenting apparently :) Some cleaning and commenting apparently :)

View File

@ -1,3 +1,6 @@
2005-08-07
* mpd password patch from Joshua Gerrish
2005-08-06 2005-08-06
* Conky 1.2 released * Conky 1.2 released

View File

@ -3111,7 +3111,6 @@ static void draw_line(char *s)
case ALIGNC: case ALIGNC:
{ {
printf("text_start_x %i text_width %i cur_x %i get_string_width(p) %i text_width %i\n", text_start_x, text_width, cur_x, get_string_width(p), text_width);
int pos_x = (text_start_x*2) + text_width - cur_x - ((float)get_string_width(p) / 2) - ((float)text_width / 2); int pos_x = (text_start_x*2) + text_width - cur_x - ((float)get_string_width(p) / 2) - ((float)text_width / 2);
if (pos_x > if (pos_x >
specials[special_index].arg) specials[special_index].arg)