File: fix-bolding-behaviour.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-- 597 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 bolding behavior for the edition field

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

diff --git a/bibcursed.c b/bibcursed.c
index ca1a47d..116bbdd 100644
--- a/bibcursed.c
+++ b/bibcursed.c
@@ -345,7 +345,7 @@ add_entry()
       if (use_edition != 0)
        {
          move(print_pos,5);
-         if (use_edition != 1)
+         if (use_edition == 1)
           {
             attron(A_BOLD);
             printw("%s","7. Edition ");