Changeset 84 in dev for ProjectEditor/SubOperation.cpp


Ignore:
Timestamp:
Mar 29, 2007, 3:28:28 AM (18 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ProjectEditor/SubOperation.cpp

    r83 r84  
    645645    }
    646646
    647     DeleteDC(hdc);
     647    ReleaseDC(GetDesktopWindow(),hdc);
    648648
    649649    return hBitmap;
     
    691691    }
    692692
    693     DeleteDC(hdc);
     693    ReleaseDC(GetDesktopWindow(),hdc);
    694694
    695695    return hBitmap;
     
    733733    }
    734734
    735     DeleteDC(hdc);
     735    ReleaseDC(GetDesktopWindow(),hdc);
    736736
    737737    return hBitmap;
     
    808808    HeapDefaultFree(pByte);
    809809
    810     DeleteDC(hdc);
     810    ReleaseDC(GetDesktopWindow(),hdc);
    811811
    812812
     
    12361236
    12371237    extern char *pHeaderBuf;
    1238     sprintf(temporary,"%sInclude\\basic.sbp",pj_editor_Dir);
     1238    sprintf(temporary,"%sbasic.sbp",pobj_nv->szIncludeDir);
     1239    GetFullPath( temporary, pj_editor_Dir );
    12391240    pHeaderBuf=ReadBuffer(temporary);
     1241
     1242    if( !pHeaderBuf ){
     1243        pHeaderBuf=(char *)HeapAlloc(hHeap,HEAP_ZERO_MEMORY,1);
     1244    }
    12401245
    12411246    //ファイルをインクルード
Note: See TracChangeset for help on using the changeset viewer.