Ignore:
Timestamp:
May 6, 2007, 8:37:57 PM (18 years ago)
Author:
dai
Message:

タスプミスを修正。

File:
1 edited

Legend:

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

    r212 r233  
    5757    End Function
    5858
    59     Const Function MajorRivision() As Integer
     59    Const Function MajorRevision() As Integer
    6060        Return HIWORD(revision) As Integer
    6161    End Function
    6262
    63     Const Function MinorRivision() As Integer
     63    Const Function MinorRevision() As Integer
    6464        Return LOWORD(revision) As Integer
    6565    End Function
     
    7272        CompareTo = build - v.build
    7373        If CompareTo <> 0 Then Exit Function
    74         CompareTo = rivision - v.rivision
     74        CompareTo = revision - v.revision
    7575    End Function
    7676
     
    8080
    8181    Override Function GetHashCode() As Long
    82         Return _System_BSwap(major As DWord) Xor minor Xor build Xor _System_BSwap(rivision As DWord)
     82        Return _System_BSwap(major As DWord) Xor minor Xor build Xor _System_BSwap(revision As DWord)
    8383    End Function
    8484
     
    111111        If build >= 0 Then
    112112            ToString = ToString + "." + Str$(build)
    113             If rivision >= 0 Then
    114                 ToString = ToString + "." + Str$(rivision)
     113            If revision >= 0 Then
     114                ToString = ToString + "." + Str$(revision)
    115115            End If
    116116        End If
     
    136136        If fieldCount = 3 Then Exit Function
    137137
    138         If rivision < 0 Then
     138        If revision < 0 Then
    139139            ' Throw ArgumentException
    140140            Debug
    141141        End If
    142         ToString = ToString + "." + Str$(rivision)
     142        ToString = ToString + "." + Str$(revision)
    143143    End Function
    144144Private
     
    146146    minor As Long
    147147    build As Long
    148     rivision As Long
     148    revision As Long
    149149End Class
    150150
Note: See TracChangeset for help on using the changeset viewer.