X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e9609ce57da09e800084fb248d1b9b82d3c11634..be3ed0da8343bdbd68665bef9a9bb096865bea04:/windows/window.c diff --git a/windows/window.c b/windows/window.c index 216c1704..b2dd5e60 100644 --- a/windows/window.c +++ b/windows/window.c @@ -1325,7 +1325,7 @@ debug(("\n rect: [%d,%d %d,%d]\n", newrc.left, newrc.top, newrc.right, #ifdef FIXME_REMOVE_BEFORE_CHECKIN debug(("general_textout: done, xn=%d\n", xn)); #endif - assert(xn - x == lprc->right - lprc->left); + assert(xn - x >= lprc->right - lprc->left); } /* @@ -4920,8 +4920,6 @@ static DWORD WINAPI clipboard_read_threadfunc(void *param) static int process_clipdata(HGLOBAL clipdata, int unicode) { - static wchar_t *converted = 0; - sfree(clipboard_contents); clipboard_contents = NULL; clipboard_length = 0;