From 16c73b6efb3176870a8ec7a8b70457703915e068 Mon Sep 17 00:00:00 2001 From: lmp Date: Wed, 11 Sep 2024 15:37:14 +0200 Subject: [PATCH] all: run `v fmt -w .` in project root --- image/image.c.v | 2 +- mixer/mixer.c.v | 2 +- ttf/ttf.c.v | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/image/image.c.v b/image/image.c.v index c2aea189..4914addd 100644 --- a/image/image.c.v +++ b/image/image.c.v @@ -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. diff --git a/mixer/mixer.c.v b/mixer/mixer.c.v index ae7f60ef..69a286af 100644 --- a/mixer/mixer.c.v +++ b/mixer/mixer.c.v @@ -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 diff --git a/ttf/ttf.c.v b/ttf/ttf.c.v index 78bd5756..3903a143 100644 --- a/ttf/ttf.c.v +++ b/ttf/ttf.c.v @@ -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