# SDL\_mixer: Missed "patch" in wikiheaders.pl

**URL:** <https://discourse.libsdl.org/t/sdl-mixer-missed-patch-in-wikiheaders-pl/51199>\
**Category:** SDL Commits\
**Created:** [May 15, 2024, 8:10pm UTC](https://discourse.libsdl.org/t/sdl-mixer-missed-patch-in-wikiheaders-pl/51199 "2024-05-15T20:10:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [May 15, 2024, 8:10pm UTC](https://discourse.libsdl.org/t/sdl-mixer-missed-patch-in-wikiheaders-pl/51199/1 "2024-05-15T20:10:09Z")

</div>

> <https://github.com/libsdl-org/SDL_mixer/commit/5881c1e3509623081b04a5745377cb7c10a6038b>

```diff
From 5881c1e3509623081b04a5745377cb7c10a6038b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 15 May 2024 13:09:10 -0700
Subject: [PATCH] Missed "patch" in wikiheaders.pl

---
 build-scripts/wikiheaders.pl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index 050dd3cb..6e421970 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -2318,19 +2318,19 @@ sub print_undocumented_section {
     open(FH, '<', "$srcpath/$versionfname") or die("Can't open '$srcpath/$versionfname': $!\n");
     my $majorver = 0;
     my $minorver = 0;
- my $patchver = 0;
+ my $microver = 0;
     while (<FH>) {
         chomp;
         if (/$versionmajorregex/) {
             $majorver = int($1);
         } elsif (/$versionminorregex/) {
             $minorver = int($1);
- } elsif (/$versionpatchregex/) {
- $patchver = int($1);
+ } elsif (/$versionmicroregex/) {
+ $microver = int($1);
         }
     }
     close(FH);
- my $fullversion = "$majorver.$minorver.$patchver";
+ my $fullversion = "$majorver.$minorver.$microver";
 
     my $latex_fname = "$srcpath/$projectshortname.tex";
     my $latex_tmpfname = "$latex_fname.tmp";
@@ -2369,7 +2369,7 @@ sub print_undocumented_section {
 \\begin{document}
 \\frontmatter
 
-\\title{$projectfullname $majorver.$minorver.$patchver Reference Manual}
+\\title{$projectfullname $majorver.$minorver.$microver Reference Manual}
 \\author{The $projectshortname Developers}
 \\maketitle
 

```
