Changeset 1365 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Oct 19, 1999, 9:26:08 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r1357 r1365 1 /* $Id: win32wbase.cpp,v 1.5 5 1999-10-19 12:52:30sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.56 1999-10-19 19:26:08 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 641 641 else 642 642 { 643 dprintf(("Set window ID to %x", cs->hMenu)); 643 644 setWindowId((DWORD)cs->hMenu); 644 645 } … … 2453 2454 int Win32BaseWindow::GetWindowTextA(LPSTR lpsz, int cch) 2454 2455 { 2456 if(windowNameA == NULL) { 2457 *lpsz = 0; 2458 return 0; 2459 } 2455 2460 strncpy(lpsz, windowNameA, cch); 2456 2461 return wndNameLength; … … 2460 2465 int Win32BaseWindow::GetWindowTextW(LPWSTR lpsz, int cch) 2461 2466 { 2467 if(windowNameW == NULL) { 2468 *lpsz = 0; 2469 return 0; 2470 } 2462 2471 lstrcpynW((LPWSTR)lpsz, windowNameW, cch); 2463 2472 return wndNameLength;
Note:
See TracChangeset
for help on using the changeset viewer.