File: 0005-Remove-the-trailing-new-line-in-title.patch

package info (click to toggle)
xdu 3.0-20
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 420 kB
  • sloc: ansic: 7,747; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Flavio Stanchina <flavio.stanchina@tin.it>
Date: Fri, 13 Apr 2012 20:35:23 +0200
Subject: Remove the trailing new line in title.

It make the title text appears incorrectly with some windows
manager. Closes #125867
---
 xwin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xwin.c b/xwin.c
index dbecb5d..35a873f 100644
--- a/xwin.c
+++ b/xwin.c
@@ -308,7 +308,7 @@ char **argv;
 
 	/* Create the top level Widget */
 	n = 0;
-	XtSetArg(args[n], XtNtitle, "XDU Disk Usage Display ('h' for help)\n"); n++;
+	XtSetArg(args[n], XtNtitle, "XDU Disk Usage Display ('h' for help)"); n++;
 	toplevel = XtAppInitialize(&app_con, "XDu",
 			options, XtNumber(options),
 			argcp, argv,