Let's not concatenate things to unknown strings...

This commit is contained in:
Alcaro 2016-10-25 20:27:21 +02:00
parent 9ddad48744
commit 41c7d0315f
6 changed files with 11 additions and 11 deletions

View File

@ -82,7 +82,7 @@ int menu_hash_get_help_de_enum(enum msg_hash_enums msg, char *s, size_t len)
"Benutzer lesbar (mode 600). Du kannst eine udev- \n"
"Regel erstellen, die auch den Zugriff für andere \n"
"Benutzer erlaubt.");
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;

View File

@ -61,7 +61,7 @@ int menu_hash_get_help_es_enum(enum msg_hash_enums msg, char *s, size_t len)
"Bienvenido a RetroArch\n"
"\n"
"Para más información ve al menú \n"
"de Ayuda.\n"
"de Ayuda.\n"
);
break;
case MENU_ENUM_LABEL_VALUE_HELP_AUDIO_VIDEO_TROUBLESHOOTING_DESC:
@ -97,7 +97,7 @@ int menu_hash_get_help_es_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO)
);
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
@ -166,7 +166,7 @@ int menu_hash_get_help_es_enum(enum msg_hash_enums msg, char *s, size_t len)
"accesibles fuera de la raíz.", sizeof(u)
);
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
@ -668,7 +668,7 @@ int menu_hash_get_help_es_enum(enum msg_hash_enums msg, char *s, size_t len)
"monitor no funciona a 60Hz o similar, \n"
"desactiva la sincronía vertical y deja \n"
"esta opción en su valor predeterminado.", sizeof(u));
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;

View File

@ -64,7 +64,7 @@ int menu_hash_get_help_it_enum(enum msg_hash_enums msg, char *s, size_t len)
char t[501];
strlcpy(t,
"RetroArch si basa su una forma unica di\n"
"RetroArch si basa su una forma unica di\n"
"sincronizzazione audio/video che necessita essere\n"
"calibrata rispetto alla frequenza di aggiornamento\n"
"del tuo schermo per ottenere le migliori performance.\n"
@ -86,7 +86,7 @@ int menu_hash_get_help_it_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;
@ -149,7 +149,7 @@ int menu_hash_get_help_it_enum(enum msg_hash_enums msg, char *s, size_t len)
"Come predefinito nella maggior parte delle distribuzioni, i nodi /dev/input \n"
"sono only-root (modalità 600). Puoi settare una regola udev \n"
"che fa queste accessibili ai non-root.", sizeof(u));
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;

View File

@ -649,7 +649,7 @@ int menu_hash_get_help_jp_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;

View File

@ -515,7 +515,7 @@ int menu_hash_get_help_pt_enum(enum msg_hash_enums msg, char *s, size_t len)
"evitar grande mudanças de pitch. Se o monitor \n"
"não rodar a 60Hz, ou algo próximo a isso, desative\n"
"o VSync, e deixe-o com valores padrão.");
strlcat(s, u, len);
strlcpy(s, u, len);
strlcat(s, t, len);
}
break;

View File

@ -650,7 +650,7 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_SETTINGS),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_VIDEO_REFRESH_RATE_AUTO));
strlcat(s, t, len);
strlcpy(s, t, len);
strlcat(s, u, len);
}
break;