• Show log

    Commit

  • Hash : a5f52ac5
    Author : Sam Lantinga
    Date : 2014-02-22T17:32:18

    Fixed bug 2395 - OSX: App name in the menu bar is not localized.
    
    Tim McDaniel
    
    On OSX, the app name in the menu bar is not localized.  This can be fixed using the following implementation for GetApplicationName in SDL_cocoaevents.m:
    
    static NSString *
    GetApplicationName(void)
    {
        NSDictionary *dict;
        NSString *appName = 0;
    
        appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
        if (!appName)
            appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
    
        if (![appName length])
            appName = [[NSProcessInfo processInfo] processName];
    
        return appName;
    }
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags