File cdp-my_getline.patch of Package cdp
Index: cdp-0.33/display.c
===================================================================
--- cdp-0.33.orig/display.c 1995-11-10 07:10:42.000000000 +0100
+++ cdp-0.33/display.c 2009-06-11 12:00:53.000000000 +0200
@@ -540,7 +540,7 @@ void displayEditCurrSongName( cdSta
displayStatusPrintf( pInfo, pCD->trk[ track - 1 ].songname );
line = TOC_TOP_LINE + 1 + track - 1 - pInfo->scrStartTrack;
- code = getline( line, STARTX_TRK_NAME, WIDTH_TRK_NAME + 2,REVERSE_COLOR,
+ code = my_getline( line, STARTX_TRK_NAME, WIDTH_TRK_NAME + 2,REVERSE_COLOR,
NORMAL_COLOR, MARKED_COLOR | A_BOLD,
lpszNewName, SONG_SIZE,
pCD->trk[ track - 1 ].songname );
@@ -573,7 +573,7 @@ void displayEditCDName( cdStatusTyp
resetCurrTrackMark( pInfo );
pCD = pInfo->pCD;
- code = getline( 2, 19, WIDTH_CDNAME, REVERSE_COLOR,
+ code = my_getline( 2, 19, WIDTH_CDNAME, REVERSE_COLOR,
NORMAL_COLOR, MARKED_COLOR | A_BOLD,
lpszNewName, sizeof( pCD->cdname ),
pCD->cdname );
@@ -604,7 +604,7 @@ void displayEditArtistName( cdStatu
resetCurrTrackMark( pInfo );
pCD = pInfo->pCD;
- code = getline( 1, 19, WIDTH_ARTIST,REVERSE_COLOR,
+ code = my_getline( 1, 19, WIDTH_ARTIST,REVERSE_COLOR,
NORMAL_COLOR, MARKED_COLOR | A_BOLD,
lpszNewName, sizeof( pCD->artist ),
pCD->artist );
Index: cdp-0.33/getline.c
===================================================================
--- cdp-0.33.orig/getline.c 2009-06-11 11:56:54.000000000 +0200
+++ cdp-0.33/getline.c 2009-06-11 12:01:49.000000000 +0200
@@ -139,7 +139,7 @@ static void deleteKey( interInfoTy
}
-int getline( int y,
+int my_getline( int y,
int x,
int width,
chtype attrText,
Index: cdp-0.33/getline.h
===================================================================
--- cdp-0.33.orig/getline.h 1995-11-10 07:10:42.000000000 +0100
+++ cdp-0.33/getline.h 2009-06-11 12:01:36.000000000 +0200
@@ -7,7 +7,7 @@
#define __getline__H
-int getline( int y,
+int my_getline( int y,
int x,
int width,
chtype attrText,