}
if (color1.used) {
- memcpy(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
+ memmove(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
buffer->used += color1.used;
if (color2.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
+ memmove(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
buffer->used += color2.used;
if (color3.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
+ memmove(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
buffer->used += color3.used;
}
}
if (format.end.used) {
- memcpy(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
+ memmove(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
buffer->used += format.end.used;
}
}
if (color1.used) {
- memcpy(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
+ memmove(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
buffer->used += color1.used;
if (color2.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
+ memmove(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
buffer->used += color2.used;
if (color3.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
+ memmove(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
buffer->used += color3.used;
if (color4.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color4.string, sizeof(f_char_t) * color4.used);
+ memmove(buffer->string + buffer->used, color4.string, sizeof(f_char_t) * color4.used);
buffer->used += color4.used;
}
}
if (format.end.used) {
- memcpy(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
+ memmove(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
buffer->used += format.end.used;
}
}
if (format.begin.used) {
- memcpy(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
+ memmove(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
buffer->used += format.begin.used;
}
if (color1.used) {
- memcpy(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
+ memmove(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
buffer->used += color1.used;
if (color2.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
+ memmove(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
buffer->used += color2.used;
if (color3.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
+ memmove(buffer->string + buffer->used, color3.string, sizeof(f_char_t) * color3.used);
buffer->used += color3.used;
if (color4.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color4.string, sizeof(f_char_t) * color4.used);
+ memmove(buffer->string + buffer->used, color4.string, sizeof(f_char_t) * color4.used);
buffer->used += color4.used;
if (color5.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color5.string, sizeof(f_char_t) * color5.used);
+ memmove(buffer->string + buffer->used, color5.string, sizeof(f_char_t) * color5.used);
buffer->used += color5.used;
}
}
if (format.end.used) {
- memcpy(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
+ memmove(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
buffer->used += format.end.used;
}
}
if (format.begin.used) {
- memcpy(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
+ memmove(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
buffer->used += format.begin.used;
}
if (color1.used) {
- memcpy(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
+ memmove(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
buffer->used += color1.used;
}
if (format.end.used) {
- memcpy(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
+ memmove(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
buffer->used += format.end.used;
}
}
if (format.begin.used) {
- memcpy(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
+ memmove(buffer->string + buffer->used, format.begin.string, sizeof(f_char_t) * format.begin.used);
buffer->used += format.begin.used;
}
if (color1.used) {
- memcpy(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
+ memmove(buffer->string + buffer->used, color1.string, sizeof(f_char_t) * color1.used);
buffer->used += color1.used;
if (color2.used) {
if (format.medium.used) {
- memcpy(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
+ memmove(buffer->string + buffer->used, format.medium.string, sizeof(f_char_t) * format.medium.used);
buffer->used += format.medium.used;
}
- memcpy(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
+ memmove(buffer->string + buffer->used, color2.string, sizeof(f_char_t) * color2.used);
buffer->used += color2.used;
}
}
if (format.end.used) {
- memcpy(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
+ memmove(buffer->string + buffer->used, format.end.string, sizeof(f_char_t) * format.end.used);
buffer->used += format.end.used;
}