1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 04:15:26 +03:00

[Horus] GUI continued - #3159

[GVars] Refactoring continued - #3185
This commit is contained in:
Bertrand Songis 2016-01-13 23:15:03 +01:00
parent 43b84385d8
commit e8aaa67450
105 changed files with 4033 additions and 3026 deletions

View file

@ -60,7 +60,7 @@ int8_t char2idx(char c)
return 0;
}
void str2zchar(char *dest, const char *src, int size)
void str2zchar(char * dest, const char *src, int size)
{
memset(dest, 0, size);
for (int c=0; c<size && src[c]; c++) {
@ -68,7 +68,7 @@ void str2zchar(char *dest, const char *src, int size)
}
}
int zchar2str(char *dest, const char *src, int size)
int zchar2str(char * dest, const char *src, int size)
{
for (int c=0; c<size; c++) {
dest[c] = idx2char(src[c]);