projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a68bc4d
)
Sort address book popup forward, not reverse
author
Art Cancro
<ajc@citadel.org>
Sat, 17 May 2008 02:47:29 +0000
(
02:47
+0000)
committer
Art Cancro
<ajc@citadel.org>
Sat, 17 May 2008 02:47:29 +0000
(
02:47
+0000)
webcit/addressbook_popup.c
patch
|
blob
|
history
diff --git
a/webcit/addressbook_popup.c
b/webcit/addressbook_popup.c
index 5e3118b0c88b197fc9dd572bcc2b77af28aaac5d..7269b043b577ab2553d931a0d9f680c379494436 100644
(file)
--- a/
webcit/addressbook_popup.c
+++ b/
webcit/addressbook_popup.c
@@
-60,7
+60,7
@@
void display_address_book_middle_div(void) {
}
}
}
}
- SortByHashKey(List,
0
);
+ SortByHashKey(List,
1
);
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, &Namee)) {
wprintf("<option value=\"");
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, &Namee)) {
wprintf("<option value=\"");
@@
-121,7
+121,7
@@
void display_address_book_inner_div() {
Put(List, Name, len, Name, NULL);
}
Put(List, Name, len, Name, NULL);
}
- SortByHashKey(List,
0
);
+ SortByHashKey(List,
1
);
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, &Namee)) {
wprintf("<option value=\"");
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, &Namee)) {
wprintf("<option value=\"");
@@
-145,7
+145,7
@@
void display_address_book_inner_div() {
Put(List, Name, len, Name, NULL);
}
Put(List, Name, len, Name, NULL);
}
- SortByHashKey(List,
0
);
+ SortByHashKey(List,
1
);
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, (void**)&Namee)) {
wprintf("<option value=\"");
it = GetNewHashPos();
while (GetNextHashPos(List, it, &len, &Name, (void**)&Namee)) {
wprintf("<option value=\"");