Skip to content

Commit 51371d4

Browse files
Update field name from _type to type_
1 parent a0a976c commit 51371d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

units/sdlhaptic.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ type
518518
type
519519
TSDL_HapticPeriodic = record
520520
{ Header *}
521-
_type: cuint16; {**< SDL_HAPTIC_SINE, SDL_HAPTIC_SQUARE,
521+
type_: cuint16; {**< SDL_HAPTIC_SINE, SDL_HAPTIC_SQUARE,
522522
SDL_HAPTIC_TRIANGLE, SDL_HAPTIC_SAWTOOTHUP or
523523
SDL_HAPTIC_SAWTOOTHDOWN *}
524524
direction: TSDL_HapticDirection; {**< Direction of the effect. *}
@@ -533,8 +533,8 @@ type
533533

534534
{* Periodic *}
535535
period: cuint16; {**< Period of the wave. *}
536-
magnitude: cint16; {**< Peak value. *}
537-
offset: cint16; {**< Mean value of the wave. *}
536+
magnitude: cint16; {**< Peak value. *}
537+
offset: cint16; {**< Mean value of the wave. *}
538538
phase: cuint16; {**< Horizontal shift given by hundredth of a cycle. *}
539539

540540
{* Envelope *}

0 commit comments

Comments
 (0)