Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 123459
Collapse All | Expand All

(-)timidity++-2.13.2-clean/work/TiMidity++-2.13.2/interface/xaw_i.c (-3 / +3 lines)
Lines 261-267 Link Here
261
String bitmapdir = XAW_BITMAP_DIR;
261
String bitmapdir = XAW_BITMAP_DIR;
262
Boolean arrangetitle,savelist;
262
Boolean arrangetitle,savelist;
263
static char **current_flist = NULL;
263
static char **current_flist = NULL;
264
static int voices = 0, last_voice = 0, voices_num_width;
264
static int n_voices = 0, last_voice = 0, voices_num_width;
265
static int maxentry_on_a_menu = 0,submenu_n = 0;
265
static int maxentry_on_a_menu = 0,submenu_n = 0;
266
#define OPTIONS_WINDOW 1
266
#define OPTIONS_WINDOW 1
267
#define FLIST_WINDOW 2
267
#define FLIST_WINDOW 2
Lines 1329-1335 Link Here
1329
    c= *(local_buf+1);
1329
    c= *(local_buf+1);
1330
    n= atoi(local_buf+2);
1330
    n= atoi(local_buf+2);
1331
    if(c == 'L')
1331
    if(c == 'L')
1332
      voices = n;
1332
      n_voices = n;
1333
    else
1333
    else
1334
      last_voice = n;
1334
      last_voice = n;
1335
    if(IsTracePlaying()) drawVoices();
1335
    if(IsTracePlaying()) drawVoices();
Lines 2070-2076 Link Here
2070
  XSetForeground(disp, gct, tracecolor);
2070
  XSetForeground(disp, gct, tracecolor);
2071
  XFillRectangle(disp,XtWindow(trace),gct,voices_num_width +4,
2071
  XFillRectangle(disp,XtWindow(trace),gct,voices_num_width +4,
2072
                 MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+1,VOICENUM_WIDTH,TRACE_FOOT);  
2072
                 MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+1,VOICENUM_WIDTH,TRACE_FOOT);  
2073
  sprintf(local_buf, "%3d/%d", last_voice, voices);
2073
  sprintf(local_buf, "%3d/%d", last_voice, n_voices);
2074
  XSetForeground(disp, gct, capcolor);  
2074
  XSetForeground(disp, gct, capcolor);  
2075
  XDrawString(disp, XtWindow(trace),gct,voices_num_width+6,
2075
  XDrawString(disp, XtWindow(trace),gct,voices_num_width+6,
2076
              MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+16,local_buf,strlen(local_buf));
2076
              MAX_XAW_MIDI_CHANNELS*BAR_SPACE+TRACEV_OFS+16,local_buf,strlen(local_buf));

Return to bug 123459