gphoto2.ds: Spelling fix.
This commit is contained in:
parent
6e660bb220
commit
9359fd2f9f
|
@ -363,8 +363,8 @@ TW_UINT16 GPHOTO2_PendingXfersEndXfer (pTW_IDENTITY pOrigin,
|
|||
activeDS.currentState = 5;
|
||||
/* Notify the application that it can close the data source */
|
||||
activeDS.pendingEvent.TWMessage = MSG_CLOSEDSREQ;
|
||||
/* close any Transfering dialog */
|
||||
TransferingDialogBox(activeDS.progressWnd,-1);
|
||||
/* close any Transferring dialog */
|
||||
TransferringDialogBox(activeDS.progressWnd,-1);
|
||||
activeDS.progressWnd = 0;
|
||||
}
|
||||
activeDS.twCC = TWCC_SUCCESS;
|
||||
|
|
|
@ -316,8 +316,8 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
|
|||
}
|
||||
|
||||
if (!activeDS.progressWnd)
|
||||
activeDS.progressWnd = TransferingDialogBox(NULL,0);
|
||||
TransferingDialogBox(activeDS.progressWnd,0);
|
||||
activeDS.progressWnd = TransferringDialogBox(NULL,0);
|
||||
TransferringDialogBox(activeDS.progressWnd,0);
|
||||
|
||||
activeDS.currentState = 7;
|
||||
} else {
|
||||
|
@ -355,7 +355,7 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
|
|||
pImageMemXfer->Columns = activeDS.jd.output_width; /* we do whole strips */
|
||||
pImageMemXfer->BytesWritten = curoff;
|
||||
|
||||
TransferingDialogBox(activeDS.progressWnd,0);
|
||||
TransferringDialogBox(activeDS.progressWnd,0);
|
||||
|
||||
if (activeDS.jd.output_scanline == activeDS.jd.output_height) {
|
||||
pjpeg_finish_decompress(&activeDS.jd);
|
||||
|
@ -364,7 +364,7 @@ TW_UINT16 GPHOTO2_ImageMemXferGet (pTW_IDENTITY pOrigin,
|
|||
activeDS.file = NULL;
|
||||
TRACE("xfer is done!\n");
|
||||
|
||||
/*TransferingDialogBox(activeDS.progressWnd, -1);*/
|
||||
/*TransferringDialogBox(activeDS.progressWnd, -1);*/
|
||||
twRC = TWRC_XFERDONE;
|
||||
}
|
||||
activeDS.twCC = TWRC_SUCCESS;
|
||||
|
|
|
@ -247,7 +247,7 @@ TW_UINT16 GPHOTO2_RGBResponseSet
|
|||
|
||||
/* UI function */
|
||||
BOOL DoCameraUI();
|
||||
HWND TransferingDialogBox(HWND dialog, DWORD progress);
|
||||
HWND TransferringDialogBox(HWND dialog, DWORD progress);
|
||||
|
||||
#ifdef HAVE_GPHOTO2
|
||||
/* Helper function for GUI */
|
||||
|
|
|
@ -238,7 +238,7 @@ static INT_PTR CALLBACK ProgressProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
HWND TransferingDialogBox(HWND dialog, DWORD progress)
|
||||
HWND TransferringDialogBox(HWND dialog, DWORD progress)
|
||||
{
|
||||
if (!dialog)
|
||||
dialog = CreateDialogW(GPHOTO2_instance,
|
||||
|
|
Loading…
Reference in New Issue