page.c (tin-2.6.0.tar.xz) | : | page.c (tin-2.6.1.tar.xz) | ||
---|---|---|---|---|
/* | /* | |||
* Project : tin - a Usenet reader | * Project : tin - a Usenet reader | |||
* Module : page.c | * Module : page.c | |||
* Author : I. Lea & R. Skrenta | * Author : I. Lea & R. Skrenta | |||
* Created : 1991-04-01 | * Created : 1991-04-01 | |||
* Updated : 2021-06-28 | * Updated : 2021-09-21 | |||
* Notes : | * Notes : | |||
* | * | |||
* Copyright (c) 1991-2021 Iain Lea <iain@bricbrac.de>, Rich Skrenta <skrenta@pb m.com> | * Copyright (c) 1991-2022 Iain Lea <iain@bricbrac.de>, Rich Skrenta <skrenta@pb m.com> | |||
* All rights reserved. | * All rights reserved. | |||
* | * | |||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | |||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | |||
* are met: | * are met: | |||
* | * | |||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | |||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | |||
* | * | |||
* 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright | |||
skipping to change at line 1324 | skipping to change at line 1324 | |||
static void | static void | |||
draw_page_header( | draw_page_header( | |||
const char *group) | const char *group) | |||
{ | { | |||
char *buf, *tmp; | char *buf, *tmp; | |||
int i; | int i; | |||
int whichresp, x_resp; | int whichresp, x_resp; | |||
int len, right_len, center_pos, cur_pos; | int len, right_len, center_pos, cur_pos; | |||
size_t line_len; | size_t line_len; | |||
#if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE) | #if defined(MULTIBYTE_ABLE) && !defined(NO_LOCALE) | |||
wchar_t *fmt_resp, *fmt_thread, *wtmp, *wtmp2, *wbuf; | wchar_t *fmt_resp = NULL, *fmt_thread, *wtmp, *wtmp2, *wbuf; | |||
#else | #else | |||
char *tmp2; | char *tmp2; | |||
#endif /* MULTIBYTE_ABLE && !NO_LOCALE */ | #endif /* MULTIBYTE_ABLE && !NO_LOCALE */ | |||
whichresp = which_response(this_resp); | whichresp = which_response(this_resp); | |||
if ((i = which_thread(this_resp)) >= 0) | if ((i = which_thread(this_resp)) >= 0) | |||
x_resp = num_of_responses(i); | x_resp = num_of_responses(i); | |||
else | else | |||
x_resp = 0; | x_resp = 0; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |