/[LeafOK_CVS]/lbbs/src/section_list_display.c
ViewVC logotype

Diff of /lbbs/src/section_list_display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.59 by sysadm, Sun Nov 2 08:13:50 2025 UTC Revision 1.60 by sysadm, Sun Nov 2 08:35:23 2025 UTC
# Line 661  int section_list_display(const char *sna Line 661  int section_list_display(const char *sna
661                  }                  }
662    
663                  ret = section_list_select(page_count, article_count, &page_id, &selected_index);                  ret = section_list_select(page_count, article_count, &page_id, &selected_index);
664    
665                    // Update current aid location
666                    section_aid_locations[section_index] = p_articles[selected_index]->aid;
667    
668                  switch (ret)                  switch (ret)
669                  {                  {
670                  case EXIT_SECTION:                  case EXIT_SECTION:
# Line 842  int section_list_display(const char *sna Line 846  int section_list_display(const char *sna
846                          // Update current topic                          // Update current topic
847                          section_topic_view_tid = (p_articles[selected_index]->tid == 0 ? p_articles[selected_index]->aid : p_articles[selected_index]->tid);                          section_topic_view_tid = (p_articles[selected_index]->tid == 0 ? p_articles[selected_index]->aid : p_articles[selected_index]->tid);
848    
                         // Update current aid location  
                         section_aid_locations[section_index] = p_articles[selected_index]->aid;  
   
849                          if (section_list_draw_screen(sname, stitle, master_list, display_nickname) < 0)                          if (section_list_draw_screen(sname, stitle, master_list, display_nickname) < 0)
850                          {                          {
851                                  log_error("section_list_draw_screen() error\n");                                  log_error("section_list_draw_screen() error\n");


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1