浏览代码

Patched to compile on Haiku.

Ryan C. Gordon 9 年之前
父节点
当前提交
714aa21136
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/audio/haiku/SDL_haikuaudio.cc

+ 1 - 1
src/audio/haiku/SDL_haikuaudio.cc

@@ -118,7 +118,7 @@ HAIKUAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
     if (_this->hidden == NULL) {
         return SDL_OutOfMemory();
     }
-    SDL_zerop(this->hidden);
+    SDL_zerop(_this->hidden);
 
     /* Parse the audio format and fill the Be raw audio format */
     SDL_zero(format);