mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-17 16:10:29 +00:00
Cleanups
This commit is contained in:
parent
7a745c3f70
commit
5ba74302b2
@ -206,7 +206,7 @@ static void blit_line(int x, int y,
|
||||
if (!rgui_framebuf_data)
|
||||
return;
|
||||
|
||||
while (*message)
|
||||
while (!string_is_empty(message))
|
||||
{
|
||||
const uint8_t *font_fb = menu_display_get_font_framebuffer();
|
||||
uint32_t symbol = string_walk(&message);
|
||||
|
@ -2735,7 +2735,7 @@ static void xmb_context_reset_background(const char *iconpath)
|
||||
|
||||
fill_pathname_join(path, iconpath, "bg.png", sizeof(path));
|
||||
|
||||
if (*settings->path.menu_wallpaper)
|
||||
if (!string_is_empty(settings->path.menu_wallpaper))
|
||||
strlcpy(path, settings->path.menu_wallpaper, sizeof(path));
|
||||
|
||||
if (path_file_exists(path))
|
||||
|
@ -254,7 +254,7 @@ static unsigned zarch_zui_hash(zui_t *zui, const char *s)
|
||||
{
|
||||
unsigned hval = zui->hash;
|
||||
|
||||
while(*s!=0)
|
||||
while(*s != 0)
|
||||
{
|
||||
hval+=*s++;
|
||||
hval+=(hval<<10);
|
||||
|
Loading…
x
Reference in New Issue
Block a user