Commit 1ee88a2b authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Removed trailing white space.

parent 440b0215
/* /*
* Mpeg Layer-1,2,3 audio decoder * Mpeg Layer-1,2,3 audio decoder
* ------------------------------ * ------------------------------
* copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved. * copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved.
* See also 'README' * See also 'README'
...@@ -67,7 +67,7 @@ int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt) ...@@ -67,7 +67,7 @@ int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
short *samples = (short *) (out + *pnt); short *samples = (short *) (out + *pnt);
real *b0,(*buf)[0x110]; real *b0,(*buf)[0x110];
int clip = 0; int clip = 0;
int bo1; int bo1;
bo = gmp->synth_bo; bo = gmp->synth_bo;
...@@ -94,7 +94,7 @@ int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt) ...@@ -94,7 +94,7 @@ int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt)
} }
gmp->synth_bo = bo; gmp->synth_bo = bo;
{ {
register int j; register int j;
real *window = decwin + 16 - bo1; real *window = decwin + 16 - bo1;
......
...@@ -689,8 +689,8 @@ DecodeDateTime(char **field, int *ftype, int nf, ...@@ -689,8 +689,8 @@ DecodeDateTime(char **field, int *ftype, int nf,
tm->tm_mon = 11; /* December, as tm_mon is 0..11 */ tm->tm_mon = 11; /* December, as tm_mon is 0..11 */
tm->tm_mday = 30; tm->tm_mday = 30;
} }
#ifdef DATEDEBUG #ifdef DATEDEBUG
printf("DecodeDateTime- mask %08x (%08x)", fmask, DTK_DATE_M); printf("DecodeDateTime- mask %08x (%08x)", fmask, DTK_DATE_M);
printf(" set y%04d m%02d d%02d", tm->tm_year, (tm->tm_mon+1), tm->tm_mday); printf(" set y%04d m%02d d%02d", tm->tm_year, (tm->tm_mon+1), tm->tm_mday);
...@@ -1344,6 +1344,3 @@ datebsearch(char *key, datetkn *base, unsigned int nel) ...@@ -1344,6 +1344,3 @@ datebsearch(char *key, datetkn *base, unsigned int nel)
} }
return NULL; return NULL;
} }
...@@ -615,7 +615,7 @@ RTFFont *fp; ...@@ -615,7 +615,7 @@ RTFFont *fp;
rtfClass = rtfText; rtfClass = rtfText;
return; return;
} }
/* first check for pushed token from RTFUngetToken() */ /* first check for pushed token from RTFUngetToken() */
if (pushedClass >= 0) if (pushedClass >= 0)
......
...@@ -124,7 +124,7 @@ TextClass () ...@@ -124,7 +124,7 @@ TextClass ()
char buf[rtfBufSiz]; char buf[rtfBufSiz];
TRACE("\n"); TRACE("\n");
if (rtfFormat == SF_TEXT) if (rtfFormat == SF_TEXT)
PutLitChar (rtfMajor); PutLitChar (rtfMajor);
else if (rtfMinor != rtfSC_nothing) else if (rtfMinor != rtfSC_nothing)
......
...@@ -230,7 +230,7 @@ static void EMS_map_multiple( CONTEXT86 *context ) ...@@ -230,7 +230,7 @@ static void EMS_map_multiple( CONTEXT86 *context )
for(i=0; i<CX_reg(context) && !status; i++, ptr += 2) for(i=0; i<CX_reg(context) && !status; i++, ptr += 2)
switch(AL_reg(context)) { switch(AL_reg(context)) {
case 0x00: case 0x00:
status = EMS_map( ptr[1], status = EMS_map( ptr[1],
DX_reg(context), ptr[0] ); DX_reg(context), ptr[0] );
break; break;
case 0x01: case 0x01:
...@@ -238,7 +238,7 @@ static void EMS_map_multiple( CONTEXT86 *context ) ...@@ -238,7 +238,7 @@ static void EMS_map_multiple( CONTEXT86 *context )
DX_reg(context), ptr[0] ); DX_reg(context), ptr[0] );
break; break;
default: default:
status = 0x8f; /* status: undefined subfunction */ status = 0x8f; /* status: undefined subfunction */
} }
AH_reg(context) = status; AH_reg(context) = status;
...@@ -292,7 +292,7 @@ static void EMS_save_context( CONTEXT86 *context ) ...@@ -292,7 +292,7 @@ static void EMS_save_context( CONTEXT86 *context )
EMS_record->mapping_save_area[h][i].hindex = EMS_record->mapping[i].hindex; EMS_record->mapping_save_area[h][i].hindex = EMS_record->mapping[i].hindex;
EMS_record->mapping_save_area[h][i].logical_page = EMS_record->mapping[i].logical_page; EMS_record->mapping_save_area[h][i].logical_page = EMS_record->mapping[i].logical_page;
} }
AX_reg(context) = 0; /* status: ok */ AX_reg(context) = 0; /* status: ok */
} }
...@@ -316,8 +316,8 @@ static void EMS_restore_context( CONTEXT86 *context ) ...@@ -316,8 +316,8 @@ static void EMS_restore_context( CONTEXT86 *context )
return; return;
} }
} }
AX_reg(context) = 0; /* status: ok */ AX_reg(context) = 0; /* status: ok */
} }
/********************************************************************** /**********************************************************************
...@@ -370,7 +370,7 @@ void WINAPI DOSVM_Int67Handler( CONTEXT86 *context ) ...@@ -370,7 +370,7 @@ void WINAPI DOSVM_Int67Handler( CONTEXT86 *context )
break; break;
case 0x47: /* EMS - SAVE MAPPING CONTEXT */ case 0x47: /* EMS - SAVE MAPPING CONTEXT */
EMS_init(); EMS_init();
EMS_save_context(context); EMS_save_context(context);
break; break;
...@@ -423,7 +423,7 @@ void WINAPI DOSVM_Int67Handler( CONTEXT86 *context ) ...@@ -423,7 +423,7 @@ void WINAPI DOSVM_Int67Handler( CONTEXT86 *context )
if(AL_reg(context) == 0x01) { if(AL_reg(context) == 0x01) {
EMS_init(); EMS_init();
/* unallocated raw pages */ /* unallocated raw pages */
BX_reg(context) = EMS_MAX_PAGES - EMS_record->used_pages; BX_reg(context) = EMS_MAX_PAGES - EMS_record->used_pages;
/* total number raw pages */ /* total number raw pages */
DX_reg(context) = EMS_MAX_PAGES; DX_reg(context) = EMS_MAX_PAGES;
/* status: ok */ /* status: ok */
......
...@@ -41,7 +41,7 @@ static void get_download_name(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA ...@@ -41,7 +41,7 @@ static void get_download_name(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA
len = strlen((char*)potm + (ptrdiff_t)potm->otmpFullName) + 1; len = strlen((char*)potm + (ptrdiff_t)potm->otmpFullName) + 1;
*str = HeapAlloc(GetProcessHeap(),0,len); *str = HeapAlloc(GetProcessHeap(),0,len);
strcpy(*str, (char*)potm + (ptrdiff_t)potm->otmpFullName); strcpy(*str, (char*)potm + (ptrdiff_t)potm->otmpFullName);
p = *str; p = *str;
while((p = strchr(p, ' '))) while((p = strchr(p, ' ')))
*p = '_'; *p = '_';
...@@ -55,7 +55,7 @@ static void get_download_name(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA ...@@ -55,7 +55,7 @@ static void get_download_name(PSDRV_PDEVICE *physDev, LPOUTLINETEXTMETRICA
static DOWNLOAD *is_font_downloaded(PSDRV_PDEVICE *physDev, char *ps_name) static DOWNLOAD *is_font_downloaded(PSDRV_PDEVICE *physDev, char *ps_name)
{ {
DOWNLOAD *pdl; DOWNLOAD *pdl;
for(pdl = physDev->downloaded_fonts; pdl; pdl = pdl->next) for(pdl = physDev->downloaded_fonts; pdl; pdl = pdl->next)
if(!strcmp(pdl->ps_name, ps_name)) if(!strcmp(pdl->ps_name, ps_name))
break; break;
......
...@@ -257,11 +257,11 @@ void HTTP_CloseHTTPSessionHandle(LPWININETHTTPSESSIONA lpwhs); ...@@ -257,11 +257,11 @@ void HTTP_CloseHTTPSessionHandle(LPWININETHTTPSESSIONA lpwhs);
void HTTP_CloseHTTPRequestHandle(LPWININETHTTPREQA lpwhr); void HTTP_CloseHTTPRequestHandle(LPWININETHTTPREQA lpwhr);
VOID SendAsyncCallback(LPWININETAPPINFOA hIC, HINTERNET hHttpSession, VOID SendAsyncCallback(LPWININETAPPINFOA hIC, HINTERNET hHttpSession,
DWORD dwContext, DWORD dwInternetStatus, LPVOID DWORD dwContext, DWORD dwInternetStatus, LPVOID
lpvStatusInfo , DWORD dwStatusInfoLength); lpvStatusInfo , DWORD dwStatusInfoLength);
VOID SendAsyncCallbackInt(LPWININETAPPINFOA hIC, HINTERNET hHttpSession, VOID SendAsyncCallbackInt(LPWININETAPPINFOA hIC, HINTERNET hHttpSession,
DWORD dwContext, DWORD dwInternetStatus, LPVOID DWORD dwContext, DWORD dwInternetStatus, LPVOID
lpvStatusInfo , DWORD dwStatusInfoLength); lpvStatusInfo , DWORD dwStatusInfoLength);
......
...@@ -37,7 +37,7 @@ typedef struct IDragSourceHelper IDragSourceHelper,*LPDRAGSOURCEHELPER; ...@@ -37,7 +37,7 @@ typedef struct IDragSourceHelper IDragSourceHelper,*LPDRAGSOURCEHELPER;
/***************************************************************************** /*****************************************************************************
* IDragSourceHelper interface * IDragSourceHelper interface
*/ */
typedef struct { typedef struct {
SIZE sizeDragImage; SIZE sizeDragImage;
POINT ptOffset; POINT ptOffset;
...@@ -98,8 +98,3 @@ ICOM_DEFINE(IDropTargetHelper,IUnknown) ...@@ -98,8 +98,3 @@ ICOM_DEFINE(IDropTargetHelper,IUnknown)
#endif /* defined(__cplusplus) */ #endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_DRAGDROPHELPER_H */ #endif /* __WINE_WINE_OBJ_DRAGDROPHELPER_H */
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* *
* This version deliberately differs in error handling compared to the * This version deliberately differs in error handling compared to the
* windows version. * windows version.
*/ */
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* *
* Note the complication that this version may be passed unix format file names * Note the complication that this version may be passed unix format file names
* which might be mistaken for flags. Conveniently the Windows version * which might be mistaken for flags. Conveniently the Windows version
* requires each flag to be separate (e.g. no /su ) and so we will simply * requires each flag to be separate (e.g. no /su ) and so we will simply
* assume that anything longer than /. is a filename. * assume that anything longer than /. is a filename.
*/ */
......
...@@ -446,7 +446,7 @@ void output_makefile (void) ...@@ -446,7 +446,7 @@ void output_makefile (void)
if (globals.forward_dll) if (globals.forward_dll)
fprintf (specfile,"#import %s.dll\n", globals.forward_dll); fprintf (specfile,"#import %s.dll\n", globals.forward_dll);
fclose (makefile); fclose (makefile);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment