mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.94] Fix compilation issues
This commit is contained in:
@@ -326,7 +326,7 @@ struct ascii* set_ascii(VENDOR vendor, STYLE style, struct colors* cs) {
|
||||
#endif
|
||||
|
||||
for(int i=0; i < NUMBER_OF_LINES; i++)
|
||||
strncpy(art->art[i], tmp + i*LINE_SIZE, LINE_SIZE);
|
||||
memcpy(art->art[i], tmp + i*LINE_SIZE, LINE_SIZE);
|
||||
|
||||
return art;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user