Changeset 342 for trunk/dll/input.c
- Timestamp:
- Jul 26, 2006, 4:00:11 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/input.c
r181 r342 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2005 Steven H. Levine9 Copyright (c) 2005, 2006 Steven H. Levine 10 10 11 11 28 May 05 SHL Use saymsg 12 14 Jul 06 SHL Use Runtime_Error 12 13 13 14 ***********************************************************************/ … … 38 39 if (!mp2) 39 40 { 41 Runtime_Error(pszSrcFile, __LINE__, "no data"); 40 42 WinDismissDlg(hwnd,0); 41 43 break; … … 43 45 WinSetWindowPtr(hwnd,0,(PVOID)mp2); 44 46 psip = (STRINGINPARMS *)mp2; 45 if (! (BOOL)WinSendDlgItemMsg(hwnd,STR_INPUT,EM_SETTEXTLIMIT,46 47 if (!WinSendDlgItemMsg(hwnd,STR_INPUT,EM_SETTEXTLIMIT, 48 MPFROM2SHORT(psip->inputlen,0),MPVOID)) 47 49 { 48 DosBeep(50,100); 50 Win_Error(hwnd,hwnd,__FILE__,__LINE__, 51 "setlimit failed"); 49 52 WinDismissDlg(hwnd,0); 50 53 break;
Note:
See TracChangeset
for help on using the changeset viewer.