/[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.1 by sysadm, Wed May 28 07:30:23 2025 UTC Revision 1.2 by sysadm, Wed May 28 07:41:46 2025 UTC
# Line 51  static int section_list_draw_items(SECTI Line 51  static int section_list_draw_items(SECTI
51                  strftime(str_time, sizeof(str_time), "%b %e", &tm_sub);                  strftime(str_time, sizeof(str_time), "%b %e", &tm_sub);
52                  strncpy(title_f, p_articles[i]->title, sizeof(title_f) - 1);                  strncpy(title_f, p_articles[i]->title, sizeof(title_f) - 1);
53                  title_f[sizeof(title_f) - 1] = '\0';                  title_f[sizeof(title_f) - 1] = '\0';
54                  len = split_line(title_f, (p_articles[i]->tid == 0 ? 40 : 37), &eol, &title_f_len);                  len = split_line(title_f, (p_articles[i]->tid == 0 ? 46 : 49), &eol, &title_f_len);
55                  if (title_f[len] != '\0')                  if (title_f[len] != '\0')
56                  {                  {
57                          title_f[len] = '\0';                          title_f[len] = '\0';


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

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