SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
textproc/pinfo/patches/patch-src_manual_c
Normal file
20
textproc/pinfo/patches/patch-src_manual_c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/manual.c.orig Sun Jul 8 17:10:13 2007
|
||||
+++ src/manual.c Sun Jul 8 17:10:56 2007
|
||||
@@ -797,7 +797,7 @@ man_initializelinks(char *tmp, int carry)
|
||||
if ((!strchr(p_t1, '(')) &&(!is_in_manlinks(manlinks, p_t1)))
|
||||
{
|
||||
char tempchar;
|
||||
- int breakpos;
|
||||
+ int breakpos, cols_before_link;
|
||||
i = mylink - tmp - 1;
|
||||
if (i < 0)
|
||||
i++;
|
||||
@@ -830,7 +830,7 @@ man_initializelinks(char *tmp, int carry)
|
||||
*/
|
||||
|
||||
/* calculate the number of columns in front of the link */
|
||||
- int cols_before_link = width_of_string(tmp, i-1);
|
||||
+ cols_before_link = width_of_string(tmp, i-1);
|
||||
|
||||
/* a small check */
|
||||
if (!((use_apropos) &&(manualhistorylength == 0)))
|
Loading…
Add table
Add a link
Reference in a new issue