فهرست منبع

Use SDL_PROP_APP_METADATA_IDENTIFIER_STRING for the app ID

Sam Lantinga 8 ماه پیش
والد
کامیت
79f4de9f7e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 *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 the hint isn't set, try to use the application's executable name */