From ebe02f9b69bf45cb9f2ae23f18d372cc76135955 Mon Sep 17 00:00:00 2001 From: Sandro Kalatozishvili Date: Wed, 13 Nov 2024 03:45:14 +0400 Subject: [PATCH] Get xmedia short version --- src/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.c b/src/version.c index 15564d1..a149174 100644 --- a/src/version.c +++ b/src/version.c @@ -49,7 +49,7 @@ const char* XMedia_VersionShort(void) { if (!XSYNC_ATOMIC_GET(&g_nHaveVerShort)) { - XMedia_GetVersion(g_xMediaVerLong, sizeof(g_xMediaVerLong), XTRUE); + XMedia_GetVersion(g_xMediaVerShort, sizeof(g_xMediaVerShort), XTRUE); XSYNC_ATOMIC_SET(&g_nHaveVerShort, XTRUE); }