changeset 2580:b95069f5ed07

fixed some miscoding :)
author alex
date Tue, 30 Oct 2001 23:04:36 +0000
parents d10f16ef155c
children e94a20dec331
files loader/dshow/DS_Filter.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/DS_Filter.c	Tue Oct 30 22:40:40 2001 +0000
+++ b/loader/dshow/DS_Filter.c	Tue Oct 30 23:04:36 2001 +0000
@@ -80,14 +80,14 @@
 	if (!m_iHandle)
 	{
 	    char e[256];
-	    printf("Could not open DirectShow DLL: %.200s", dllname);
+	    snprintf((char *)&e[0], 256, "Could not open DirectShow DLL: %.200s", dllname);
 	    throw FATAL(e);
 	}
         GETCLASS func = (GETCLASS)GetProcAddress(m_iHandle, "DllGetClassObject");
 	if (!func)
 	{
 	    char e[256];
-	    printf("Illegal or corrupt DirectShow DLL: %.200s", dllname);
+	    snprintf((char *)&e[0], 256, "Illegal or corrupt DirectShow DLL: %.200s", dllname);
 	    throw FATAL(e);
 	}