mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-16 19:18:55 +00:00
Use the existing SDL_GetExeName(), available for all the UNIX platforms, in the internal GetAppName(); this has few advantanges: - SDL_GetExeName() (and SDL_GetAppID() that builds on top of it) are used in various places already; since it caches the executable name, this may remove one extra read of the application name - SDL_GetExeName() has a non-dummy implementation in more OSes than GetAppName(), thus providing a small improvement for this IME As drive-by change: since SDL_GetExeName() provides a constant string, there is no more need to allocate a new string in GetAppName(), which is used as constant string anyway. Hence, return a constant string in GetAppName() too. |
||
|---|---|---|
| .. | ||
| SDL_dbus.c | ||
| SDL_dbus.h | ||
| SDL_evdev.c | ||
| SDL_evdev.h | ||
| SDL_evdev_capabilities.c | ||
| SDL_evdev_capabilities.h | ||
| SDL_evdev_kbd.c | ||
| SDL_evdev_kbd.h | ||
| SDL_evdev_kbd_default_accents.h | ||
| SDL_evdev_kbd_default_keymap.h | ||
| SDL_fcitx.c | ||
| SDL_fcitx.h | ||
| SDL_ibus.c | ||
| SDL_ibus.h | ||
| SDL_ime.c | ||
| SDL_ime.h | ||
| SDL_progressbar.c | ||
| SDL_progressbar.h | ||
| SDL_system_theme.c | ||
| SDL_system_theme.h | ||
| SDL_threadprio.c | ||
| SDL_udev.c | ||
| SDL_udev.h | ||