1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-28 21:19:10 +00:00

fixing small mistake; adding Nattfodd <Nattfodd@gmail.com> to AUTHORS

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@339 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-09-29 03:40:12 +00:00
parent b8e385f663
commit a3212822df
2 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,9 @@ Lucas Brutschy <lbrutschy at users dot sourceforge dot net>
Moncelier Camille <pixdamix at users dot sourceforge dot net>
METAR patch
Nattfodd <Nattfodd@gmail.com>
Fixed top_mem dupes
nathanj439 <nathanj439 at users dot sourceforge dot net>
MPD time fix

View File

@ -477,6 +477,7 @@ inline void process_find_top(struct process **cpu, struct process **mem)
sizeof(struct process) * sorttmp_size);
}
qsort(sorttmp, i, sizeof(struct process *), comparemem);
sorttmp_size = i;
for (i = 0, j = 0; i < sorttmp_size && j < 10; i++) {
if (j == 0 || sorttmp[i]->totalmem != mem[j-1]->totalmem
|| strncmp(sorttmp[i]->name, mem[j-1]->name,128)) {