mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Replace MacRoman conversion with LIBICONV implementation
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include "InputManager.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "MacFileInfo.h"
|
||||
#include "MacRoman.h"
|
||||
#include "MacRomanConversion.h"
|
||||
#include "MemoryManager.h"
|
||||
#include "MenuManager.h"
|
||||
#include "MemReaderStream.h"
|
||||
@@ -845,7 +845,7 @@ bool Window::AddWidget(PortabilityLayer::Widget *widget)
|
||||
m_widgets = static_cast<PortabilityLayer::Widget**>(PortabilityLayer::MemoryManager::GetInstance()->Alloc(sizeof(PortabilityLayer::Widget *)));
|
||||
if (m_widgets == nullptr)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
void *newBuffer = PortabilityLayer::MemoryManager::GetInstance()->Realloc(m_widgets, (m_numWidgets + 1) * sizeof(PortabilityLayer::Widget*));
|
||||
|
||||
Reference in New Issue
Block a user