Changeset 342 for trunk/dll/input.c


Ignore:
Timestamp:
Jul 26, 2006, 4:00:11 AM (19 years ago)
Author:
root
Message:

Use Runtime_Error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/input.c

    r181 r342  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2005 Steven H. Levine
     9  Copyright (c) 2005, 2006 Steven H. Levine
    1010
    1111  28 May 05 SHL Use saymsg
     12  14 Jul 06 SHL Use Runtime_Error
    1213
    1314***********************************************************************/
     
    3839      if (!mp2)
    3940      {
     41        Runtime_Error(pszSrcFile, __LINE__, "no data");
    4042        WinDismissDlg(hwnd,0);
    4143        break;
     
    4345      WinSetWindowPtr(hwnd,0,(PVOID)mp2);
    4446      psip = (STRINGINPARMS *)mp2;
    45       if (!(BOOL)WinSendDlgItemMsg(hwnd,STR_INPUT,EM_SETTEXTLIMIT,
    46                                    MPFROM2SHORT(psip->inputlen,0),MPVOID))
     47      if (!WinSendDlgItemMsg(hwnd,STR_INPUT,EM_SETTEXTLIMIT,
     48                             MPFROM2SHORT(psip->inputlen,0),MPVOID))
    4749      {
    48         DosBeep(50,100);
     50        Win_Error(hwnd,hwnd,__FILE__,__LINE__,
     51                  "setlimit failed");
    4952        WinDismissDlg(hwnd,0);
    5053        break;
Note: See TracChangeset for help on using the changeset viewer.