gphoto2.ds: Spelling fix.

This commit is contained in:
Francois Gouget 2006-05-12 00:24:56 +02:00 committed by Alexandre Julliard
parent 6e660bb220
commit 9359fd2f9f
4 changed files with 8 additions and 8 deletions

View File

@ -363,8 +363,8 @@ TW_UINT16 GPHOTO2_PendingXfersEndXfer (pTW_IDENTITY pOrigin,
activeDS.currentState = 5; activeDS.currentState = 5;
/* Notify the application that it can close the data source */ /* Notify the application that it can close the data source */
activeDS.pendingEvent.TWMessage = MSG_CLOSEDSREQ; activeDS.pendingEvent.TWMessage = MSG_CLOSEDSREQ;
/* close any Transfering dialog */ /* close any Transferring dialog */
TransferingDialogBox(activeDS.progressWnd,-1); TransferringDialogBox(activeDS.progressWnd,-1);
activeDS.progressWnd = 0; activeDS.progressWnd = 0;
} }
activeDS.twCC = TWCC_SUCCESS; activeDS.twCC = TWCC_SUCCESS;

View File

@ -316,8 +316,8 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
} }
if (!activeDS.progressWnd) if (!activeDS.progressWnd)
activeDS.progressWnd = TransferingDialogBox(NULL,0); activeDS.progressWnd = TransferringDialogBox(NULL,0);
TransferingDialogBox(activeDS.progressWnd,0); TransferringDialogBox(activeDS.progressWnd,0);
activeDS.currentState = 7; activeDS.currentState = 7;
} else { } else {
@ -355,7 +355,7 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
pImageMemXfer->Columns = activeDS.jd.output_width; /* we do whole strips */ pImageMemXfer->Columns = activeDS.jd.output_width; /* we do whole strips */
pImageMemXfer->BytesWritten = curoff; pImageMemXfer->BytesWritten = curoff;
TransferingDialogBox(activeDS.progressWnd,0); TransferringDialogBox(activeDS.progressWnd,0);
if (activeDS.jd.output_scanline == activeDS.jd.output_height) { if (activeDS.jd.output_scanline == activeDS.jd.output_height) {
pjpeg_finish_decompress(&activeDS.jd); pjpeg_finish_decompress(&activeDS.jd);
@ -364,7 +364,7 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
activeDS.file = NULL; activeDS.file = NULL;
TRACE("xfer is done!\n"); TRACE("xfer is done!\n");
/*TransferingDialogBox(activeDS.progressWnd, -1);*/ /*TransferringDialogBox(activeDS.progressWnd, -1);*/
twRC = TWRC_XFERDONE; twRC = TWRC_XFERDONE;
} }
activeDS.twCC = TWRC_SUCCESS; activeDS.twCC = TWRC_SUCCESS;

View File

@ -247,7 +247,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
/* UI function */ /* UI function */
BOOL DoCameraUI(); BOOL DoCameraUI();
HWND TransferingDialogBox(HWND dialog, DWORD progress); HWND TransferringDialogBox(HWND dialog, DWORD progress);
#ifdef HAVE_GPHOTO2 #ifdef HAVE_GPHOTO2
/* Helper function for GUI */ /* Helper function for GUI */

View File

@ -238,7 +238,7 @@ static INT_PTR CALLBACK ProgressProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
return FALSE; return FALSE;
} }
HWND TransferingDialogBox(HWND dialog, DWORD progress) HWND TransferringDialogBox(HWND dialog, DWORD progress)
{ {
if (!dialog) if (!dialog)
dialog = CreateDialogW(GPHOTO2_instance, dialog = CreateDialogW(GPHOTO2_instance,