diff libvo/vo_aa.c @ 1520:c156984e545e

write fault error fixed
author folke
date Tue, 14 Aug 2001 19:23:17 +0000
parents e0ceb814471d
children 187aa4b576a7
line wrap: on
line diff
--- a/libvo/vo_aa.c	Tue Aug 14 19:18:21 2001 +0000
+++ b/libvo/vo_aa.c	Tue Aug 14 19:23:17 2001 +0000
@@ -238,7 +238,7 @@
     aa_hidecursor(c);
     p = aa_getrenderparams();
 
-    if ((strstr(c->driver->name,"curses")) || (strstr(c->driver->name,"linux"))){
+    if ((strstr(c->driver->name,"Curses")) || (strstr(c->driver->name,"Linux"))){
 	freopen("/dev/null", "w", stderr);
 	quiet=1; /* disable mplayer outputs */
     }
@@ -527,7 +527,7 @@
     free(stx);
     free(sty);
     if (convertbuf!=NULL) free(convertbuf);
-    if (strstr(c->driver->name,"curses") || strstr(c->driver->name,"libux")){
+    if (strstr(c->driver->name,"Curses") || strstr(c->driver->name,"Linux")){
 	freopen("/dev/tty", "w", stderr);
 	quiet=0; /* enable mplayer outputs */
     }