Browse Source

Use SDL_PROP_APP_METADATA_IDENTIFIER_STRING for the app ID

Sam Lantinga 1 year ago
parent
commit
79f4de9f7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/unix/SDL_appid.c

+ 1 - 1
src/core/unix/SDL_appid.c

@@ -59,7 +59,7 @@ const char *SDL_GetExeName(void)
 
 
 const char *SDL_GetAppID(void)
 const char *SDL_GetAppID(void)
 {
 {
-    const char *id_str = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_NAME_STRING);
+    const char *id_str = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_IDENTIFIER_STRING);
 
 
     if (!id_str) {
     if (!id_str) {
         /* If the hint isn't set, try to use the application's executable name */
         /* If the hint isn't set, try to use the application's executable name */