Module: wine Branch: master Commit: e8e067eb4031397e342a1408959c9c2a355f66fc URL: http://source.winehq.org/git/wine.git/?a=commit;h=e8e067eb4031397e342a140895...
Author: Francois Gouget fgouget@free.fr Date: Tue May 15 09:47:11 2012 +0200
wineqtdecoder: Fix the spelling of the available variables.
---
dlls/wineqtdecoder/qtdatahandler.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dlls/wineqtdecoder/qtdatahandler.c b/dlls/wineqtdecoder/qtdatahandler.c index 4d3b0a3..cfcb676 100644 --- a/dlls/wineqtdecoder/qtdatahandler.c +++ b/dlls/wineqtdecoder/qtdatahandler.c @@ -188,12 +188,12 @@ static pascal ComponentResult myDataHGetAvailableFileSize ( DataHandler dh, Handle storage = GetComponentInstanceStorage(dh); DHData *data = (DHData*)*storage; LONGLONG total; - LONGLONG avaliable; + LONGLONG available;
TRACE("%p\n",dh);
- IAsyncReader_Length(data->dataRef.pReader,&total,&avaliable); - *fileSize = avaliable; + IAsyncReader_Length(data->dataRef.pReader,&total,&available); + *fileSize = available; return noErr; }
@@ -202,11 +202,11 @@ static pascal ComponentResult myDataHGetFileSize ( DataHandler dh, long *fileSiz Handle storage = GetComponentInstanceStorage(dh); DHData *data = (DHData*)*storage; LONGLONG total; - LONGLONG avaliable; + LONGLONG available;
TRACE("%p\n",dh);
- IAsyncReader_Length(data->dataRef.pReader,&total,&avaliable); + IAsyncReader_Length(data->dataRef.pReader,&total,&available); *fileSize = total; return noErr; } @@ -411,12 +411,12 @@ static pascal ComponentResult myDataHGetFileSize64(DataHandler dh, wide * fileSi Handle storage = GetComponentInstanceStorage(dh); DHData *data = (DHData*)*storage; LONGLONG total; - LONGLONG avaliable; + LONGLONG available; SInt64 total64;
TRACE("%p\n",dh);
- IAsyncReader_Length(data->dataRef.pReader,&total,&avaliable); + IAsyncReader_Length(data->dataRef.pReader,&total,&available); total64 = total; *fileSize = SInt64ToWide(total64); return noErr; @@ -427,13 +427,13 @@ static pascal ComponentResult myDataHGetAvailableFileSize64(DataHandler dh, wide Handle storage = GetComponentInstanceStorage(dh); DHData *data = (DHData*)*storage; LONGLONG total; - LONGLONG avaliable; + LONGLONG available; SInt64 total64;
TRACE("%p\n",dh);
- IAsyncReader_Length(data->dataRef.pReader,&total,&avaliable); - total64 = avaliable; + IAsyncReader_Length(data->dataRef.pReader,&total,&available); + total64 = available; *fileSize = SInt64ToWide(total64); return noErr; }