SDL: dialog_utils: fix NameTransform() function pointer type (#15002) (b9107)

From b9107ec196bf20ff8a7314d421143db2d0b60fef Mon Sep 17 00:00:00 2001
From: RaceTheMaSe <[EMAIL REDACTED]>
Date: Sat, 7 Feb 2026 21:23:47 +0100
Subject: [PATCH] dialog_utils: fix NameTransform() function pointer type
 (#15002)

(cherry picked from commit c15ca27740a1591fab938dfb6934b37133052978)
---
 src/dialog/SDL_dialog_utils.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dialog/SDL_dialog_utils.h b/src/dialog/SDL_dialog_utils.h
index 00f2a64ce44e2..773fb967bce36 100644
--- a/src/dialog/SDL_dialog_utils.h
+++ b/src/dialog/SDL_dialog_utils.h
@@ -28,7 +28,7 @@
 /* Transform the name given in argument into something viable for the engine.
    Useful if there are special characters to avoid on certain platforms (such
    as "|" with Zenity). */
-typedef char *(NameTransform)(const char * name);
+typedef char *(*NameTransform)(const char * name);
 
 // Converts all the filters into a single string.
 // <prefix>[filter]{<separator>[filter]...}<suffix>