mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed bug in search display for all logbooks
SVN revision: 747
This commit is contained in:
parent
3ad91cfd55
commit
e2b39f114b
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.238 2004/02/05 07:47:27 midas
|
||||||
|
Fixed bug in search display for all logbooks
|
||||||
|
|
||||||
Revision 1.237 2004/02/04 15:25:14 midas
|
Revision 1.237 2004/02/04 15:25:14 midas
|
||||||
Fixed stack overflow in conjunction with 'use lock'
|
Fixed stack overflow in conjunction with 'use lock'
|
||||||
|
|
||||||
@ -11741,7 +11744,7 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n)
|
|||||||
if (list[0]) {
|
if (list[0]) {
|
||||||
n_attr_disp = strbreak(list, disp_attr, MAX_N_ATTR);
|
n_attr_disp = strbreak(list, disp_attr, MAX_N_ATTR);
|
||||||
if (search_all) {
|
if (search_all) {
|
||||||
for (i = n_attr_disp - 1; i > 0; i--)
|
for (i = n_attr_disp - 1; i >= 0; i--)
|
||||||
strcpy(disp_attr[i + 1], disp_attr[i]);
|
strcpy(disp_attr[i + 1], disp_attr[i]);
|
||||||
strcpy(disp_attr[0], loc("Logbook"));
|
strcpy(disp_attr[0], loc("Logbook"));
|
||||||
n_attr_disp++;
|
n_attr_disp++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user