mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
Linux doesn't like the ISO stuff
This commit is contained in:
parent
372dc5cca2
commit
5f11afce5e
@ -17,6 +17,10 @@
|
|||||||
#include <libultraship/libultra/types.h>
|
#include <libultraship/libultra/types.h>
|
||||||
#include "soh/Enhancements/cosmetics/CosmeticsEditor.h"
|
#include "soh/Enhancements/cosmetics/CosmeticsEditor.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define strdup _strdup
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace UIWidgets {
|
namespace UIWidgets {
|
||||||
|
|
||||||
// MARK: - Layout Helper
|
// MARK: - Layout Helper
|
||||||
@ -46,7 +50,7 @@ namespace UIWidgets {
|
|||||||
currentLineLength++;
|
currentLineLength++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return _strdup(newText.c_str());
|
return strdup(newText.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
char* WrappedText(const std::string& text, unsigned int charactersPerLine) {
|
char* WrappedText(const std::string& text, unsigned int charactersPerLine) {
|
||||||
|
Loading…
Reference in New Issue
Block a user