mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
Fix GCC warnings
This commit is contained in:
parent
4cf74ec0f3
commit
93859232d9
1 changed files with 13 additions and 13 deletions
|
@ -66,7 +66,7 @@ SYMBOL_EXPORT int DrawWrappedText(ALLEGRO_FONT* font, ALLEGRO_COLOR color, float
|
|||
int height = al_get_font_line_height(font) + 1;
|
||||
|
||||
// Setup our strings
|
||||
strncpy(stext, text, 1024);
|
||||
strncpy(stext, text, 1023);
|
||||
strncpy(temp, "", 1024);
|
||||
for (int i = 0; i < 40; i += 1) {
|
||||
strncpy(lines[i], "", 1024);
|
||||
|
|
Loading…
Add table
Reference in a new issue