mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 05:20:04 +00:00
General GCC compilation fixes
This commit is contained in:
parent
c7aba95233
commit
023688b746
19 changed files with 57 additions and 53 deletions
|
|
@ -285,7 +285,7 @@ void FontImpl::CreateImGuiFont(QFile& fontFile,
|
|||
strncpy(fontConfig.Name,
|
||||
fmt::format("{}:{}", fileInfo.fileName().toStdString(), fontSize)
|
||||
.c_str(),
|
||||
sizeof(fontConfig.Name));
|
||||
sizeof(fontConfig.Name) - 1);
|
||||
fontConfig.Name[sizeof(fontConfig.Name) - 1] = 0;
|
||||
|
||||
// Add font to atlas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue