[CONTROLS] Add missing ReleaseDC in EDIT_BuildLineDefs_ML.

Christian Costa titan.costa at wanadoo.fr
Fri May 9 00:10:40 CDT 2003


Hi,

Here is a small fix that was in my tree for a while.

Bye.

Changelog :
Add missing ReleaseDC in EDIT_BuildLineDefs_ML.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: edit.c
===================================================================
RCS file: /home/wine/wine/controls/edit.c,v
retrieving revision 1.112
diff -u -r1.112 edit.c
--- edit.c	6 May 2003 18:23:17 -0000	1.112
+++ edit.c	9 May 2003 04:47:36 -0000
@@ -1033,6 +1033,7 @@
 	if (!current_line) /* Error occurred start is not inside previous buffer */
 	{
 		FIXME(" modification occurred outside buffer\n");
+		ReleaseDC(es->hwndSelf, dc);
 		return;
 	}
 


More information about the wine-patches mailing list