projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f64211
)
- Realize the system font when creating a DC - avoids a crash on simple
author
David Welch
<welch@cwcom.net>
Fri, 1 Aug 2003 20:22:58 +0000
(20:22 +0000)
committer
David Welch
<welch@cwcom.net>
Fri, 1 Aug 2003 20:22:58 +0000
(20:22 +0000)
startup.
svn path=/trunk/; revision=5371
reactos/subsys/win32k/objects/dc.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/objects/dc.c
b/reactos/subsys/win32k/objects/dc.c
index
2747a12
..
4539042
100644
(file)
--- a/
reactos/subsys/win32k/objects/dc.c
+++ b/
reactos/subsys/win32k/objects/dc.c
@@
-16,7
+16,7
@@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: dc.c,v 1.6
5 2003/08/01 19:42:54 royce
Exp $
+/* $Id: dc.c,v 1.6
6 2003/08/01 20:22:58 dwelch
Exp $
*
* DC.C - Device context functions
*
@@
-1516,6
+1516,7
@@
DC_AllocDC(LPCWSTR Driver)
NewDC->w.vport2WorldValid = TRUE;
NewDC->w.hFont = W32kGetStockObject(SYSTEM_FONT);
+ TextIntRealizeFont(NewDC->w.hFont);
GDIOBJ_UnlockObj( hDC, GO_DC_MAGIC );
return hDC;