From 22ff72fb11b1d87783d14f3f02e4e72ba3915652 Mon Sep 17 00:00:00 2001 From: Wizzup? Date: Sun, 18 Oct 2009 19:22:52 +0000 Subject: [PATCH] Meh. git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@140 3f818213-9676-44b0-a9b4-5e4c4e03d09d --- Units/MMLAddon/colourpicker.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Units/MMLAddon/colourpicker.pas b/Units/MMLAddon/colourpicker.pas index 8a157ba..a178c82 100644 --- a/Units/MMLAddon/colourpicker.pas +++ b/Units/MMLAddon/colourpicker.pas @@ -138,9 +138,9 @@ begin Note.Canvas.Rectangle(89, 3, 115, 29); Note.Canvas.Pen.Style:= psClear; - bmp := Window.CopyClientToBitmap(0, 0, w, h); - BitBlt(Image.Canvas.Handle, 0,0,w,h, bmp.Canvas.Handle,0,0,SRCCOPY); - BitBlt(Bitmap.Canvas.Handle, 0,0,w,h, bmp.Canvas.Handle,0,0,SRCCOPY); + bmp := Window.CopyClientToBitmap(0, 0, w - 1, h - 1); + BitBlt(Image.Canvas.Handle, 0,0,w ,h , bmp.Canvas.Handle,0,0,SRCCOPY); + BitBlt(Bitmap.Canvas.Handle, 0,0,w ,h , bmp.Canvas.Handle,0,0,SRCCOPY); bmp.Free; ImageHandle:= Image.Canvas.Handle;