Changeset 193


Ignore:
Timestamp:
Mar 28, 2007, 10:55:14 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

Stringのデフォルトコンストラクタでもメモリ確保するように戻す、api_imm.sbpの修正

Location:
Include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/String.ab

    r192 r193  
    2121
    2222    Sub String()
    23         Chars = 0
     23        Chars = _System_malloc(SizeOf (StrChar)) '0
     24        Chars[0] = 0
    2425        m_Length = 0
    2526    End Sub
     
    304305    End Function
    305306Private
    306     Static Const Function ConcatStrChar(text1 As *StrChar, text1Length As Long, text2 As *StrChar, text2Length As Long) As String
     307    Static Function ConcatStrChar(text1 As *StrChar, text1Length As Long, text2 As *StrChar, text2Length As Long) As String
    307308        With ConcatStrChar
    308309            .AllocStringBuffer(text1Length + text2Length)
  • Include/api_imm.sbp

    r192 r193  
    275275#endif 'NOGDI
    276276#endif '_INC_GDI
    277 #endif
    278277
    279278Declare Function ImmConfigureIMEA Lib "imm32" (hkl As HKL, hwnd As HWND, dwMode As DWord, lpData As VoidPtr) As BOOL
     
    707706
    708707#endif '_IMM_
    709 
Note: See TracChangeset for help on using the changeset viewer.