- fill_pathname_join_delim(sysname, sysname,
- "content.png", '-', sizeof(sysname));
- strlcat(content_texturepath, icons_path, sizeof(content_texturepath));
- strlcat(content_texturepath, PATH_DEFAULT_SLASH(), sizeof(content_texturepath));
- strlcat(content_texturepath, sysname, sizeof(content_texturepath));
-
- /* If the content icon doesn't exist return default-content */
- if (!path_is_valid(content_texturepath))
- {
- strlcat(icons_path,
- PATH_DEFAULT_SLASH() "default", sizeof(icons_path));
- fill_pathname_join_delim(content_texturepath, icons_path,
- "content.png", '-', sizeof(content_texturepath));
- }
-
- if (image_texture_load(&ti, content_texturepath))
- {
- if (ti.pixels)
- {
- video_driver_texture_unload(&node->content_icon);
This file has been truncated. show original