diff options
Diffstat (limited to 'audio/timidity/patches/patch-ab')
-rw-r--r-- | audio/timidity/patches/patch-ab | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/audio/timidity/patches/patch-ab b/audio/timidity/patches/patch-ab deleted file mode 100644 index 4f1f22c8981..00000000000 --- a/audio/timidity/patches/patch-ab +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-ab,v 1.14 2009/04/10 18:45:16 wiz Exp $ - ---- interface/xaw_i.c.orig 2004-09-26 23:40:14.000000000 +0000 -+++ interface/xaw_i.c -@@ -261,7 +261,7 @@ int amplitude = DEFAULT_AMPLIFICATION; - String bitmapdir = XAW_BITMAP_DIR; - Boolean arrangetitle,savelist; - static char **current_flist = NULL; --static int voices = 0, last_voice = 0, voices_num_width; -+static int xvoices = 0, last_voice = 0, voices_num_width; - static int maxentry_on_a_menu = 0,submenu_n = 0; - #define OPTIONS_WINDOW 1 - #define FLIST_WINDOW 2 -@@ -1329,7 +1329,7 @@ static void handle_input(XtPointer data, - c= *(local_buf+1); - n= atoi(local_buf+2); - if(c == 'L') -- voices = n; -+ xvoices = n; - else - last_voice = n; - if(IsTracePlaying()) drawVoices(); -@@ -2070,7 +2070,7 @@ static void drawVoices(void) { - XSetForeground(disp, gct, tracecolor); - XFillRectangle(disp,XtWindow(trace),gct,voices_num_width +4, - MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+1,VOICENUM_WIDTH,TRACE_FOOT); -- sprintf(local_buf, "%3d/%d", last_voice, voices); -+ sprintf(local_buf, "%3d/%d", last_voice, xvoices); - XSetForeground(disp, gct, capcolor); - XDrawString(disp, XtWindow(trace),gct,voices_num_width+6, - MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+16,local_buf,strlen(local_buf)); |