Commit 217a682b authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Minor cosmetic changes.

parent 8337f28b
...@@ -3016,7 +3016,7 @@ TREEVIEW_Expand (HWND hwnd, WPARAM wParam, LPARAM lParam) ...@@ -3016,7 +3016,7 @@ TREEVIEW_Expand (HWND hwnd, WPARAM wParam, LPARAM lParam)
if (! wineItem) if (! wineItem)
{ {
ERR( ERR(
"Catastropic situation, cannot retreive item #%d\n", "Catastrophic situation, cannot retrieve item #%d\n",
expand); expand);
return FALSE; return FALSE;
} }
......
...@@ -2602,7 +2602,7 @@ int X11DRV_DIB_SetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr ) ...@@ -2602,7 +2602,7 @@ int X11DRV_DIB_SetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
descr->infoWidth, lines, 32, 0 ); descr->infoWidth, lines, 32, 0 );
bmpImage->data = calloc( lines, bmpImage->bytes_per_line ); bmpImage->data = calloc( lines, bmpImage->bytes_per_line );
if(bmpImage->data == NULL) { if(bmpImage->data == NULL) {
ERR("Out of memory!"); ERR("Out of memory!\n");
XDestroyImage( bmpImage ); XDestroyImage( bmpImage );
return lines; return lines;
} }
...@@ -2705,7 +2705,7 @@ int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr ) ...@@ -2705,7 +2705,7 @@ int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
descr->infoWidth, lines, 32, 0 ); descr->infoWidth, lines, 32, 0 );
bmpImage->data = calloc( lines, bmpImage->bytes_per_line ); bmpImage->data = calloc( lines, bmpImage->bytes_per_line );
if(bmpImage->data == NULL) { if(bmpImage->data == NULL) {
ERR("Out of memory!"); ERR("Out of memory!\n");
XDestroyImage( bmpImage ); XDestroyImage( bmpImage );
return lines; return lines;
} } } }
......
...@@ -245,7 +245,7 @@ extern void ASPI_DOS_HandleInt(CONTEXT86 *context); ...@@ -245,7 +245,7 @@ extern void ASPI_DOS_HandleInt(CONTEXT86 *context);
/* NOTE: Interrupts might get called from three modes: real mode, 16-bit, and /* NOTE: Interrupts might get called from three modes: real mode, 16-bit, and
* (via DeviceIoControl) 32-bit. For automatic conversion of pointer * (via DeviceIoControl) 32-bit. For automatic conversion of pointer
* parameters, interrupt handlers should use CTX_SEG_OFF_TO_LIN with * parameters, interrupt handlers should use CTX_SEG_OFF_TO_LIN with
* the contents of a segement register as second and the contents of * the contents of a segment register as second and the contents of
* a *32-bit* general register as third parameter, e.g. * a *32-bit* general register as third parameter, e.g.
* CTX_SEG_OFF_TO_LIN( context, DS_reg(context), EDX_reg(context) ) * CTX_SEG_OFF_TO_LIN( context, DS_reg(context), EDX_reg(context) )
* This will generate a linear pointer in all three cases: * This will generate a linear pointer in all three cases:
......
...@@ -508,7 +508,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue) ...@@ -508,7 +508,7 @@ INT16 WINAPI OpenComm16(LPCSTR device,UINT16 cbInQueue,UINT16 cbOutQueue)
/* not enough memory */ /* not enough memory */
tcsetattr(COM[port].fd,TCSANOW,&m_stat[port]); tcsetattr(COM[port].fd,TCSANOW,&m_stat[port]);
close(COM[port].fd); close(COM[port].fd);
ERR("out of memory"); ERR("out of memory\n");
return IE_MEMORY; return IE_MEMORY;
} }
......
...@@ -63,7 +63,7 @@ static VERSION_DATA VersionData[NB_WINDOWS_VERSIONS] = ...@@ -63,7 +63,7 @@ static VERSION_DATA VersionData[NB_WINDOWS_VERSIONS] =
}, },
/* WIN98 */ /* WIN98 */
{ {
0x07005F03, /* FIXME: need DOS value from real Win98 */ 0x070A5F03,
0xC0000A04, 0xC0000A04,
{ {
sizeof(OSVERSIONINFOA), 4, 10, 0x40A07CE, sizeof(OSVERSIONINFOA), 4, 10, 0x40A07CE,
......
...@@ -82,7 +82,7 @@ void WINAPI INT_Int2fHandler( CONTEXT86 *context ) ...@@ -82,7 +82,7 @@ void WINAPI INT_Int2fHandler( CONTEXT86 *context )
DI_reg(context) = 0x0000; DI_reg(context) = 0x0000;
break; break;
case 0x08: case 0x08:
FIXME("No real-mode handler for errors yet! (bye!)"); FIXME("No real-mode handler for errors yet! (bye!)\n");
break; break;
default: default:
INT_BARF(context, 0x2f); INT_BARF(context, 0x2f);
......
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