QTfrontend/SDLs.cpp
changeset 2418 538a777f90c4
parent 2402 edd12b259e7c
child 2428 6800f8aa0184
--- a/QTfrontend/SDLs.cpp	Sun Oct 11 16:23:59 2009 +0000
+++ b/QTfrontend/SDLs.cpp	Sun Oct 11 20:14:55 2009 +0000
@@ -22,6 +22,7 @@
 #include "hwconsts.h"
 
 bool hardware;
+extern char *programname;
 
 SDLInteraction::SDLInteraction(bool hardware_snd)
 {
@@ -79,6 +80,6 @@
 void OpenAL_Init()
 {
 	if (!openal_ready())
-        	openal_init(hardware ? 1 : 0, 5);
+        	openal_init(programname, hardware ? 1 : 0, 5);
 }