Ignore:
Timestamp:
Jan 12, 2003, 11:49:24 AM (23 years ago)
Author:
umoeller
Message:

Misc fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/gpih.c

    r238 r240  
    28072807 *
    28082808 *      This function may relieve this a bit. This
    2809  *      creates a memory DC, an memory PS, and a bitmap,
     2809 *      creates a memory DC, a memory PS, and a bitmap,
    28102810 *      and selects the bitmap into the memory PS.
    28112811 *      You can then use any GPI function on the memory
     
    28202820 *      Example:
    28212821 *
    2822  +          PXBITMAP pbmp = gpihCreateXBitmap(hab, 100, 100);
    2823  +          if (pbmp)
     2822 +          PXBITMAP pbmp;
     2823 +          if (pbmp = gpihCreateXBitmap(hab, 100, 100))
    28242824 +          {
    28252825 +              GpiMove(pbmp->hpsMem, ...);
     
    28452845{
    28462846    BOOL fOK = FALSE;
    2847     PXBITMAP pbmp = (PXBITMAP)malloc(sizeof(XBITMAP));
    2848     if (pbmp)
     2847    PXBITMAP pbmp;
     2848    if (pbmp = (PXBITMAP)malloc(sizeof(XBITMAP)))
    28492849    {
    28502850        memset(pbmp, 0, sizeof(XBITMAP));
Note: See TracChangeset for help on using the changeset viewer.