Skip to content

Commit

Permalink
all: run v fmt -w . in project root (#800)
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Sep 11, 2024
1 parent 0d142ac commit 5eb17be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion image/image.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn C.SDL_IMAGE_COMPILEDVERSION() int

// compiledversion is the version number macro for the current SDL_image version.
pub fn compiledversion() int {
return C.SDL_VERSIONNUM(image.major_version, image.minor_version, image.patchlevel)
return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel)
}

// This macro will evaluate to true if compiled with SDL_image at least X.Y.Z.
Expand Down
2 changes: 1 addition & 1 deletion mixer/mixer.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn C.SDL_MIXER_COMPILEDVERSION() int

// compiledversion is the version number macro for the current SDL_mixer version.
pub fn compiledversion() int {
return C.SDL_VERSIONNUM(mixer.major_version, mixer.minor_version, mixer.patchlevel)
return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel)
}

pub fn C.SDL_MIXER_VERSION_ATLEAST(x int, y int, z int) bool
Expand Down
2 changes: 1 addition & 1 deletion ttf/ttf.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn C.SDL_TTF_COMPILEDVERSION() int

// compiledversion is the version number macro for the current SDL_ttf version.
pub fn compiledversion() int {
return C.SDL_VERSIONNUM(ttf.major_version, ttf.minor_version, ttf.patchlevel)
return C.SDL_VERSIONNUM(major_version, minor_version, patchlevel)
}

pub fn C.SDL_TTF_VERSION_ATLEAST(x int, y int, z int) bool
Expand Down

0 comments on commit 5eb17be

Please sign in to comment.