Changeset 3543
- Timestamp:
- May 16, 2000, 9:16:04 AM (25 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
changelog (modified) (2 diffs)
-
src/gdi32/font.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r3542 r3543 1 /* $Id: changelog,v 1.940 2000-05-15 19:06:30 sandervl Exp $ */ 1 /* $Id: changelog,v 1.941 2000-05-16 07:16:04 jeroen Exp $ */ 2 3 2000-05-16: Jeroen van den Horn <J.vandenHorn@fibre.a2000.nl> 4 - GDI32: Fixed bug in font.cpp 5 iFontRename should use strncpy instead of memcpy since source 6 string passed may be smaller than amount of bytes to copy 7 resulting in GPF. 2 8 3 9 2000-05-14: Przemyslaw Dobrowolski <dobrawka@asua.org.pl> … … 15 21 16 22 2000-05-12: Sander van Leeuwen <sandervl@xs4all.nl> 17 - USER32: 23 - USER32: 18 24 Fixed bug in HOOK_RemoveHook (wrong call for enter semaphore method) 19 25 SetSysColors bugfix (called itself for some reason) 20 26 Fixed wrong dispatch of messages under certain conditions 21 - COMDLG32: 27 - COMDLG32: 22 28 Fixed initial directory for GetOpen/SaveFileNameW 23 29 If initial dir string == "" -> use current dir (not only 24 30 when ptr equals NULL) (verified this behaviour in NT 4) 25 - GDI32: 31 - GDI32: 26 32 Do manual image flip in dib section blit (fixes wrong position 27 33 of Palm Emulator bitmap) -
trunk/src/gdi32/font.cpp
r3481 r3543 1 /* $Id: font.cpp,v 1.1 0 2000-05-02 20:49:58 sandervlExp $ */1 /* $Id: font.cpp,v 1.11 2000-05-16 07:13:19 jeroen Exp $ */ 2 2 3 3 /* … … 32 32 #include <win\options.h> 33 33 34 #define DBG_LOCALLOG DBG_font34 #define DBG_LOCALLOG DBG_font 35 35 #include "dbglocal.h" 36 36 … … 114 114 return; 115 115 116 memcpy(lpstrFaceTemp, lpstrFaceOriginal, LF_FACESIZE);116 strncpy(lpstrFaceTemp, lpstrFaceOriginal, LF_FACESIZE); 117 117 strupr(lpstrFaceTemp); 118 118
Note:
See TracChangeset
for help on using the changeset viewer.
