summaryrefslogtreecommitdiff
path: root/audio/cam
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2000-04-27 17:03:45 +0000
committermycroft <mycroft@pkgsrc.org>2000-04-27 17:03:45 +0000
commit748ee079bd99b5f9ad5c8d3ef14acad0503ef1cc (patch)
tree032fc4562738506646a58cfa1aedf83ba61de22b /audio/cam
parentaec8cf34965b1ba13cf534a6fbcf5f28ef853484 (diff)
downloadpkgsrc-748ee079bd99b5f9ad5c8d3ef14acad0503ef1cc.tar.gz
Use mvhline().
Diffstat (limited to 'audio/cam')
-rw-r--r--audio/cam/files/patch-sum4
-rw-r--r--audio/cam/patches/patch-ad23
2 files changed, 10 insertions, 17 deletions
diff --git a/audio/cam/files/patch-sum b/audio/cam/files/patch-sum
index 0006238be21..edd3d608fa0 100644
--- a/audio/cam/files/patch-sum
+++ b/audio/cam/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.4 2000/04/27 16:45:11 mycroft Exp $
+$NetBSD: patch-sum,v 1.5 2000/04/27 17:03:45 mycroft Exp $
MD5 (patch-aa) = 60ff2a4f5414bbb24c39ec3d2bfb415e
MD5 (patch-ab) = 3b84e793288fae99a40bd949557ae08a
MD5 (patch-ac) = ca4e653096374554dde227401dc07bec
-MD5 (patch-ad) = 899dc1a1eeb744ddc5165de522eb3d96
+MD5 (patch-ad) = 43d485bc96d9eaa28382798e8dfdef85
diff --git a/audio/cam/patches/patch-ad b/audio/cam/patches/patch-ad
index 596a7ca4d06..ac23f753476 100644
--- a/audio/cam/patches/patch-ad
+++ b/audio/cam/patches/patch-ad
@@ -1,7 +1,7 @@
-$NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $
+$NetBSD: patch-ad,v 1.5 2000/04/27 17:03:47 mycroft Exp $
--- screens.c.orig Mon Oct 21 14:18:25 1996
-+++ screens.c Sat Apr 15 19:39:10 2000
++++ screens.c Thu Apr 27 13:00:04 2000
@@ -25,6 +25,7 @@
#include "cam.h"
@@ -18,7 +18,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $
if (sig != 0)
exit(1);
}
-@@ -40,41 +42,46 @@
+@@ -40,19 +42,21 @@
void set_screen(void)
{
@@ -47,21 +47,14 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $
mvaddstr(LINES-2,4,"Press 'h' for help");
}
- /* Draws the sliders */
- void draw_slider(int Y, int X, char *device)
- {
-+ int i;
- attrset(COLOR_PAIR(COLOR_SLIDER));
- mvaddnstr(Y+1,X,device,7);
+@@ -64,17 +68,17 @@
mvaddstr(Y+1,X+8,"Left");
mvaddstr(Y+2,X+8,"Right");
attrset(COLOR_PAIR(COLOR_SLIDER) | A_ALTCHARSET);
- mvaddstr(Y+1,X+14,"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ");
- mvaddstr(Y+2,X+14,"ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ");
-+ for (i = 0; i < 21; i++)
-+ mvaddch(Y+1,X+14+i,ACS_HLINE);
-+ for (i = 0; i < 21; i++)
-+ mvaddch(Y+2,X+14+i,ACS_HLINE);
++ mvhline(Y+1,X+14,ACS_HLINE,21);
++ mvhline(Y+2,X+14,ACS_HLINE,21);
attrset(COLOR_PAIR(COLOR_VOL1) | A_ALTCHARSET);
- mvaddstr(Y,X+14,"ù ù ù ù");
- mvaddstr(Y+3,X+14,"ù ù ù ù");
@@ -80,7 +73,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $
}
/*
-@@ -87,26 +94,27 @@
+@@ -87,26 +91,27 @@
{
if ((level == 1 ) || ( level == 2 )) {
attrset(A_NORMAL | A_ALTCHARSET);
@@ -114,7 +107,7 @@ $NetBSD: patch-ad,v 1.4 2000/04/27 16:45:13 mycroft Exp $
stdscr = initscr();
if ( (COLS < 80) || (LINES < 25) ) {
finish(0);
-@@ -181,9 +189,9 @@
+@@ -181,9 +186,9 @@
char ch;
touchwin(stdscr);
help_win = newwin(15,50,(LINES - 15) / 2,(COLS - 50) / 2);