Просмотр исходного кода

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

(cherry picked from commit c15ca27740a1591fab938dfb6934b37133052978)
RaceTheMaSe 3 недель назад
Родитель
Сommit
b9107ec196
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/dialog/SDL_dialog_utils.h

+ 1 - 1
src/dialog/SDL_dialog_utils.h

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