File: fix-address-field.patch

package info (click to toggle)
bibcursed 2.0.1-0.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 440 kB
  • sloc: ansic: 7,605; makefile: 9
file content (22 lines) | stat: -rw-r--r-- 599 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: John Wright <jsw@debian.org>
Date: Thu, 11 Jul 2024 15:56:04 -0400
Subject: correct behavior for marking the address field

Bug-Debian: https://bugs.debian.org/366872
---
 bibcursed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bibcursed.c b/bibcursed.c
index c50daec..ca1a47d 100644
--- a/bibcursed.c
+++ b/bibcursed.c
@@ -279,7 +279,7 @@ add_entry()
           }
          else
             printw("%s","1. Address ");
-         if (set_author == 1) addch('*');
+         if (set_address == 1) addch('*');
          print_pos++;
        }
       if (use_annote != 0)