diff --git a/Examples/Console/DateTime/DateTime.dpr b/Examples/Console/DateTime/DateTime.dpr index 4383d21..9ac12ad 100644 --- a/Examples/Console/DateTime/DateTime.dpr +++ b/Examples/Console/DateTime/DateTime.dpr @@ -20,7 +20,7 @@ begin with GetSystemDate, GetSystemTime do begin Write('%02x.%02x.%02x', [Day, Month, Year]); - Write(' - %02x:%02x:%02x', [Hours, Minutes, Seconds]); + Write(' - %02x:%02x:%02x', [Hours, Minutes, Seconds]); end; GotoXY(CursorXY); Delay(500); diff --git a/Examples/GUI/Screenshot/Screenshot.dpr b/Examples/GUI/Screenshot/Screenshot.dpr index 275aec0..c8f24ac 100644 --- a/Examples/GUI/Screenshot/Screenshot.dpr +++ b/Examples/GUI/Screenshot/Screenshot.dpr @@ -69,7 +69,7 @@ begin WndTop := (Height - WndHeight) div 2; Image := HeapAllocate(Width * Height * 3); - Preview := HeapAllocate(Width * Height * 3 div 2); + Preview := HeapAllocate(Width * Height * 3 div 4); GetScreenImage(Image^, 0, 0, Width, Height); ResizeImage;