Changeset 210


Ignore:
Timestamp:
Aug 22, 2002, 10:43:34 AM (23 years ago)
Author:
umoeller
Message:

Fixed build breaks.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/winh.h

    r206 r210  
    255255
    256256    #define winhRemoveMenuItem(hwndMenu, sItemID) \
    257             (SHORT)WinSendMsg(hwndMenu, MM_REMOVEITEM, MPFROM2SHORT(sItemID, FALSE), 0)
     257            SHORT1FROMMR(WinSendMsg(hwndMenu, MM_REMOVEITEM, MPFROM2SHORT(sItemID, FALSE), 0))
    258258
    259259    BOOL XWPENTRY winhRemoveMenuItems(HWND hwndMenu,
  • trunk/src/helpers/dialog.c

    r209 r210  
    55 *      auto-format dialogs from control arrays in memory.
    66 *
    7  *      See dlghCreateDlg for details.
     7 *      As a summary, this code allows you to get rid of
     8 *      PM dialog resources completely.
     9 *
     10 *      See dlghCreateDlg for an introduction.
    811 *
    912 *      See @dlg_algorithm for the gory details of the new
     
    27422745                                         pCurrentRow,
    27432746                                         FALSE,        // no nested table
    2744                                          (PVOID)pItemThis->ul1, // pCtlDef, V0.9.21 (2002-08-18) [umoeller]
     2747                                         (const CONTROLDEF *)pItemThis->ul1, // pCtlDef, V0.9.21 (2002-08-18) [umoeller]
    27452748                                         &pColumn)))
    27462749                    lstAppendItem(&pCurrentRow->llColumns,
  • trunk/src/helpers/except.c

    r191 r210  
    549549            fprintf(file, "\nXCPT_ACCESS_VIOLATION: ");
    550550            if (pReportRec->ExceptionInfo[0] & XCPT_READ_ACCESS)
    551                 fprintf(file, "Invalid read access from 0x%04lX:%08lX.\n",
    552                         pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]);
     551                fprintf(file, "XCPT_READ_ACCESS -- Invalid read access from 0x%04lX:%08lX.\n",
     552                        pContextRec->ctx_SegDs,
     553                        pReportRec->ExceptionInfo[1]);
    553554            else if (pReportRec->ExceptionInfo[0] & XCPT_WRITE_ACCESS)
    554                 fprintf(file, "Invalid write access to 0x%04lX:%08lX.\n",
    555                         pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]);
     555                fprintf(file, "XCPT_WRITE_ACCESS -- Invalid write access to 0x%04lX:%08lX.\n",
     556                        pContextRec->ctx_SegDs,
     557                        pReportRec->ExceptionInfo[1]);
    556558            else if (pReportRec->ExceptionInfo[0] & XCPT_SPACE_ACCESS)
    557                 fprintf(file, "Invalid space access at 0x%04lX.\n",
     559                fprintf(file, "XCPT_SPACE_ACCESS -- Invalid space access at 0x%04lX.\n",
    558560                        pReportRec->ExceptionInfo[1]);
    559561            else if (pReportRec->ExceptionInfo[0] & XCPT_LIMIT_ACCESS)
    560                 fprintf(file, "Invalid limit access occurred.\n");
     562                fprintf(file, "XCPT_LIMIT_ACCESS -- Invalid limit access occurred.\n");
    561563            else if (pReportRec->ExceptionInfo[0] == XCPT_UNKNOWN_ACCESS)
    562                 fprintf(file, "unknown at 0x%04lX:%08lX\n",
    563                             pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]);
     564                fprintf(file, "XCPT_UNKNOWN_ACCESS -- unknown at 0x%04lX:%08lX\n",
     565                        pContextRec->ctx_SegDs,
     566                        pReportRec->ExceptionInfo[1]);
    564567            fprintf(file,
    565568                    "Explanation: An attempt was made to access a memory object which does\n"
  • trunk/src/helpers/winh.c

    r206 r210  
    593593         ++ul)
    594594    {
     595        SHORT s = asItemIDs[ul];
    595596        winhRemoveMenuItem(hwndMenu,
    596                            asItemIDs[ul]);
     597                           s);
    597598    }
    598599
Note: See TracChangeset for help on using the changeset viewer.