# HG changeset patch # User folke # Date 998059991 0 # Node ID 2dff06ebfbb402fee158e6367f12af59d09d0525 # Parent 2766b0d3863d2e000500f504c12577ccfdc7c702 now linux/curses detection works diff -r 2766b0d3863d -r 2dff06ebfbb4 libvo/vo_aa.c --- a/libvo/vo_aa.c Fri Aug 17 14:31:03 2001 +0000 +++ b/libvo/vo_aa.c Fri Aug 17 14:53:11 2001 +0000 @@ -216,7 +216,7 @@ char fname[12]; int fd, vt, major, minor; struct stat sbuf; - char * hidis; + char * hidis = NULL; int i; switch(format) { @@ -255,8 +255,11 @@ sprintf (fname, "/dev/vcsa%i", vt); fp = fopen (fname, "w+"); if (fp==NULL){ - fprintf(stderr,"VO: [aa] cannot open %s for writing, so we'll not use linux driver\n", fname); + fprintf(stderr,"VO: [aa] cannot open %s for writing," + "so we'll not use linux driver\n", fname); aa_recommendlowdisplay("linux"); + aa_recommendhidisplay("curses"); + aa_recommendhidisplay("X11"); }else fclose(fp); } c = aa_autoinit(&aa_defparams);