]> git.pld-linux.org Git - packages/cdp.git/blame - cdp-getline.patch
- ncurses rebuild
[packages/cdp.git] / cdp-getline.patch
CommitLineData
d435e239
AM
1diff -ur cdp-0.33.org/display.c cdp-0.33/display.c
2--- cdp-0.33.org/display.c 1995-11-10 07:10:42.000000000 +0100
3+++ cdp-0.33/display.c 2011-09-01 09:49:41.544769864 +0200
4@@ -540,7 +540,7 @@
5 displayStatusPrintf( pInfo, pCD->trk[ track - 1 ].songname );
6
7 line = TOC_TOP_LINE + 1 + track - 1 - pInfo->scrStartTrack;
8- code = getline( line, STARTX_TRK_NAME, WIDTH_TRK_NAME + 2,REVERSE_COLOR,
9+ code = getline_cdp( line, STARTX_TRK_NAME, WIDTH_TRK_NAME + 2,REVERSE_COLOR,
10 NORMAL_COLOR, MARKED_COLOR | A_BOLD,
11 lpszNewName, SONG_SIZE,
12 pCD->trk[ track - 1 ].songname );
13@@ -573,7 +573,7 @@
14 resetCurrTrackMark( pInfo );
15 pCD = pInfo->pCD;
16
17- code = getline( 2, 19, WIDTH_CDNAME, REVERSE_COLOR,
18+ code = getline_cdp( 2, 19, WIDTH_CDNAME, REVERSE_COLOR,
19 NORMAL_COLOR, MARKED_COLOR | A_BOLD,
20 lpszNewName, sizeof( pCD->cdname ),
21 pCD->cdname );
22@@ -604,7 +604,7 @@
23 resetCurrTrackMark( pInfo );
24 pCD = pInfo->pCD;
25
26- code = getline( 1, 19, WIDTH_ARTIST,REVERSE_COLOR,
27+ code = getline_cdp( 1, 19, WIDTH_ARTIST,REVERSE_COLOR,
28 NORMAL_COLOR, MARKED_COLOR | A_BOLD,
29 lpszNewName, sizeof( pCD->artist ),
30 pCD->artist );
31diff -ur cdp-0.33.org/getline.c cdp-0.33/getline.c
32--- cdp-0.33.org/getline.c 2011-09-01 09:50:11.075466389 +0200
33+++ cdp-0.33/getline.c 2011-09-01 09:49:41.544769864 +0200
34@@ -139,7 +139,7 @@
35 }
36
37
38-int getline( int y,
39+int getline_cdp( int y,
40 int x,
41 int width,
42 chtype attrText,
43diff -ur cdp-0.33.org/getline.h cdp-0.33/getline.h
44--- cdp-0.33.org/getline.h 1995-11-10 07:10:42.000000000 +0100
45+++ cdp-0.33/getline.h 2011-09-01 09:49:41.548103522 +0200
46@@ -7,7 +7,7 @@
47 #define __getline__H
48
49
50-int getline( int y,
51+int getline_cdp( int y,
52 int x,
53 int width,
54 chtype attrText,
This page took 0.062301 seconds and 5 git commands to generate.