mirror of
https://github.com/reactos/reactos
synced 2025-10-05 16:02:58 +02:00
debug
This commit is contained in:
@@ -1316,7 +1316,7 @@ static BOOL alpha_blend_image( HIMAGELIST himl, HDC dest_dc, int dest_x, int des
|
||||
void *bits, *mask_bits;
|
||||
unsigned int *ptr;
|
||||
int i, j;
|
||||
|
||||
__debugbreak();
|
||||
if (!(hdc = CreateCompatibleDC( 0 ))) return FALSE;
|
||||
if (!(info = heap_alloc( FIELD_OFFSET( BITMAPINFO, bmiColors[256] )))) goto done;
|
||||
info->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
|
||||
|
@@ -3159,7 +3159,13 @@ TOOLBAR_AddStringW (TOOLBAR_INFO *infoPtr, HINSTANCE hInstance, LPARAM lParam)
|
||||
break;
|
||||
}
|
||||
|
||||
infoPtr->strings = ReAlloc(infoPtr->strings, sizeof(LPWSTR)*(infoPtr->nNumStrings+1));
|
||||
PWSTR* new_strings = ReAlloc(infoPtr->strings, sizeof(LPWSTR) * (infoPtr->nNumStrings + 1));
|
||||
if (!infoPtr->strings)
|
||||
{
|
||||
__debugbreak();
|
||||
new_strings = ReAlloc(infoPtr->strings, sizeof(LPWSTR) * (infoPtr->nNumStrings + 1));
|
||||
}
|
||||
infoPtr->strings = new_strings;
|
||||
Str_SetPtrW(&infoPtr->strings[infoPtr->nNumStrings], p);
|
||||
infoPtr->nNumStrings++;
|
||||
|
||||
|
@@ -1437,6 +1437,8 @@ RtlCreateHeap(ULONG Flags,
|
||||
NTSTATUS Status;
|
||||
ULONG MaxBlockSize;
|
||||
|
||||
RtlpPageHeapEnabled = TRUE;
|
||||
|
||||
/* Check for a special heap */
|
||||
if (RtlpPageHeapEnabled && !Addr && !Lock)
|
||||
{
|
||||
@@ -1457,6 +1459,9 @@ RtlCreateHeap(ULONG Flags,
|
||||
Flags &= HEAP_CREATE_VALID_MASK;
|
||||
}
|
||||
|
||||
if (!Addr)
|
||||
Flags |= HEAP_FLAG_PAGE_ALLOCS;
|
||||
|
||||
/* Capture parameters */
|
||||
if (Parameters)
|
||||
{
|
||||
|
Reference in New Issue
Block a user