~ubuntu-branches/ubuntu/dapper/newt/dapper

« back to all changes in this revision

Viewing changes to debian/patches/92_no_hidden_password.patch

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-03-22 12:44:37 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050322124437-nuhl0pqjcijjno9z
Tags: 0.51.6-20ubuntu3
Add Xhosa translation (thanks, Adi Attar).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ruN newt-0.51.6-old/dialogboxes.c newt-0.51.6/dialogboxes.c
 
2
--- newt-0.51.6-old/dialogboxes.c       2004-06-19 12:40:51.000000000 +0100
 
3
+++ newt-0.51.6/dialogboxes.c   2004-06-19 12:41:16.000000000 +0100
 
4
@@ -154,7 +154,7 @@
 
5
                int flags, const char ** result) {
 
6
     newtComponent form, entry, okay, cancel, answer, tb;
 
7
     const char * val;
 
8
-    int pFlag = (flags & FLAG_PASSWORD) ? NEWT_FLAG_HIDDEN : 0;
 
9
+    int pFlag = (flags & FLAG_PASSWORD) ? NEWT_FLAG_PASSWORD : 0;
 
10
     int rc = DLG_OKAY;
 
11
     int top;
 
12
 
 
13
diff -ruN newt-0.51.6-old/textbox.c newt-0.51.6/textbox.c
 
14
--- newt-0.51.6-old/textbox.c   2003-01-03 20:54:45.000000000 +0000
 
15
+++ newt-0.51.6/textbox.c       2004-06-19 12:49:11.000000000 +0100
 
16
@@ -91,6 +91,8 @@
 
17
     tb = malloc(sizeof(*tb));
 
18
     co->data = tb;
 
19
 
 
20
+    if (width < 2) width = 2;
 
21
+
 
22
     co->ops = &textboxOps;
 
23
 
 
24
     co->height = height;